forked from casacore/casacore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
81 lines (70 loc) · 1.2 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
language: cpp
cache: ccache
os:
- linux
- osx
compiler:
- clang
- gcc
env:
global:
- CCACHE_COMPRESS=1
- CCACHE_CPP2=yes
matrix:
- CXX11=True
- CXX11=False
matrix:
exclude:
- os: linux
compiler: gcc
env: CXX11=True
- os: linux
compiler: clang
env: CXX11=False
- os: osx
compiler: gcc
env: CXX11=False
- os: osx
compiler: clang
env: CXX11=True
sudo: false
install:
- ./.travis/install.sh
addons:
apt:
packages:
- ccache
- cmake
- flex
- bison
- libblas-dev
- liblapack-dev
- libcfitsio3-dev
- wcslib-dev
- libfftw3-dev
- gfortran
- libncurses5-dev
- libreadline6-dev
- libhdf5-serial-dev
- libboost-dev
- libboost-python-dev
- python-numpy
- python3-numpy
before_script:
- ./.travis/before_script.sh
script:
- cd ${TRAVIS_BUILD_DIR}/build
- ccache -M 160M # non cxx11 builds need around 120mb
- ccache -s
- ccache -z
- make -j4
- make test
- make install
- ccache -s
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/a21dbde2d416245fd698
on_success: always
on_failure: always
on_start: false