forked from casacore/casacore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
71 lines (63 loc) · 1.29 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
language: cpp
cache: ccache
env:
global:
- CCACHE_COMPRESS=1
- CCACHE_CPP2=yes
matrix:
include:
- os: linux
compiler: gcc
- os: linux
compiler: clang
- os: osx
compiler: clang
env: PYTHONVERSION=2.7
- os: osx
compiler: clang
env: PYTHONVERSION=3.4
allow_failures:
- os: osx
env: PYTHONVERSION=3.4
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 -s
- ccache -z
- make -j2
- if [ "$TRAVIS_OS_NAME" = osx ]; then TESTS_TO_SKIP="tConvert$"; else TESTS_TO_SKIP=""; fi
# Skip tConvert on OSX; boost-python can't be found on non-standard location
- env CTEST_OUTPUT_ON_FAILURE=1 ctest -E ${TESTS_TO_SKIP}
- make install
- ccache -s
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/a21dbde2d416245fd698
on_success: always
on_failure: always
on_start: false