Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ addons:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- libgsl0-dev
- gcc-7


matrix:
fast_finish: true
Expand Down Expand Up @@ -50,7 +50,6 @@ matrix:
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh


- os: osx
osx_image: xcode8
compiler: clang
Expand All @@ -69,7 +68,7 @@ matrix:
dist: trusty
sudo: required
compiler: gcc
env: COMPILER=gcc PYTHON_VERSION=2.7
env: COMPILER=gcc PYTHON_VERSION=2.7 DOCTEST=false
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh

Expand All @@ -82,18 +81,34 @@ matrix:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh

- os: linux
dist: trusty
dist: xenial
sudo: required
compiler: gcc
env: COMPILER=gcc-7 PYTHON_VERSION=2.7
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh

- os: linux
dist: xenial
sudo: required
compiler: gcc
env: COMPILER=gcc PYTHON_VERSION=3.6
env: COMPILER=gcc-7 PYTHON_VERSION=3.5
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh

- os: linux
dist: trusty
dist: xenial
sudo: required
compiler: gcc
env: COMPILER=gcc-7 PYTHON_VERSION=3.6
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh

- os: linux
dist: xenial
sudo: required
compiler: gcc
env: COMPILER=gcc PYTHON_VERSION=3.7 NUMPY_VERSION=1.16
env: COMPILER=gcc-7 PYTHON_VERSION=3.7 NUMPY_VERSION=1.16
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh

Expand All @@ -107,6 +122,9 @@ install:
- python -m pip install --upgrade pip
- python -m pip install --ignore-installed certifi --upgrade
- python -m pip install sphinx>=1.8
- export CC=$COMPILER
- which $COMPILER
- $COMPILER --version
- make -r CC=$COMPILER
- make install CC=$COMPILER
- python -m pip install -e .
Expand All @@ -116,7 +134,3 @@ script:
- make tests CC=$COMPILER
- make -C docs html
- if [[ "${DOCTEST}" == "true" ]]; then make -C docs doctest ; fi

branches:
only:
- master
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Enhancements
------------
- A new helper routine to find the combination of (RA, DEC) refinements that produces fastest runtime in ``DDtheta_mocks`` [#216]
- Further testing via GitHub Actions [#220]
- Added Ubuntu-Xenial on Travis [#222]

Bug fixes
----------
Expand Down
7 changes: 6 additions & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,12 @@ ifeq ($(DO_CHECKS), 1)

# Add the -Werror flag if running on some continuous integration provider
ifeq ($(CORRFUNC_CI), true)
CFLAGS += -Werror -Wno-unknown-warning-option -Wimplicit-fallthrough=1
CFLAGS += -Werror -Wno-unknown-warning-option
endif

# Add the implicit-fallthrough option *if not on* TRAVIS
ifneq ($(TRAVIS), true)
-CFLAGS += -Wimplicit-fallthrough=1
endif

GSL_FOUND := $(shell gsl-config --version 2>/dev/null)
Expand Down