forked from dscharrer/innoextract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 803 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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:
on_success: change
on_failure: always