Skip to content

Commit

Permalink
Merge 2c025a9 into 158aa07
Browse files Browse the repository at this point in the history
  • Loading branch information
sfarrens committed May 31, 2020
2 parents 158aa07 + 2c025a9 commit 31757e3
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@ sudo: required
jobs:
include:
- os: linux
dist: xenial
dist: bionic
compiler: gcc
name: "Linux Xenial"
env:
- CC=gcc-9
- CXX=g++-9
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- gcc-9
- g++-9
- cmake
- libboost-all-dev
- libcfitsio3-dev
- libcfitsio-dev
- os: osx
osx_image: xcode11.3
language: shell
Expand Down Expand Up @@ -42,16 +49,24 @@ jobs:
- doxygen

before_install:
- if [ $TRAVIS_OS_NAME = 'linux' ];
then pip install --user cpp-coveralls;
fi
- mkdir build
- cd build

install:
- cmake ..
- cmake .. -DCMAKE_BUILD_TYPE=Debug
- make
- if [ $TRAVIS_OS_NAME = 'osx' ];
then make install;
else sudo make install;
fi

script:
- ctest
- make test

after_success:
- if [ $TRAVIS_OS_NAME = 'linux' ];
then coveralls --gcov gcov-9;
fi

0 comments on commit 31757e3

Please sign in to comment.