You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

35 lines
803 B

language: cpp
matrix:
include:
- os: linux
sudo: required
compiler: gcc
- os: osx
compiler: clang
addons:
apt:
packages:
- build-essential
- cmake
- libboost-all-dev
- liblzma-dev
before_install:
- if [ "$TRAVIS_OS_NAME" = osx ] ; then brew update ; fi
- if [ "$TRAVIS_OS_NAME" = osx ] ; then brew unlink python@2 ; fi
- if [ "$TRAVIS_OS_NAME" = osx ] ; then brew upgrade cmake boost ; fi
- if [ "$TRAVIS_OS_NAME" = osx ] ; then brew install xz ; fi
script:
- mkdir build
- cd build
- cmake --version
- cmake .. -Werror=dev -Werror=deprecated -DCONTINUOUS_INTEGRATION=1
- make -j1
branches:
only:
- master
notifications:
email:
recipients:
- daniel@constexpr.org
on_success: change
on_failure: always