-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
101 lines (88 loc) · 2.67 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
language: python
addons:
apt:
packages:
# generic packages
- gcc
- gfortran
- libblas-dev
- liblapack-dev
# lal dependencies
- pkg-config
- zlib1g-dev
- libgsl0-dev
- swig
- bc
# nds2 dependencies
- libsasl2-2
# misc python dependencies
- texlive-latex-extra
- libhdf5-serial-dev
env:
global:
- SWIG_VERSION="3.0.8"
- FFTW_VERSION="3.3.4"
- LAL_VERSION="6.15.0"
- LALFRAME_VERSION="1.3.0"
- LIBFRAME_VERSION="8.20"
- LDAS_TOOLS_VERSION="2.4.1"
- NDS2_CLIENT_VERSION="0.10.4"
# tarballs
- SWIG_="https://github.com/swig/swig/archive/rel-${SWIG_VERSION}.tar.gz"
- FFTW="http://www.fftw.org/fftw-${FFTW_VERSION}.tar.gz"
- LDAS_TOOLS="http://software.ligo.org/lscsoft/source/ldas-tools-${LDAS_TOOLS_VERSION}.tar.gz"
- LIBFRAME="http://software.ligo.org/lscsoft/source/libframe-${LIBFRAME_VERSION}.tar.gz"
- LAL="http://software.ligo.org/lscsoft/source/lalsuite/lal-${LAL_VERSION}.tar.gz"
- LALFRAME="http://software.ligo.org/lscsoft/source/lalsuite/lalframe-${LALFRAME_VERSION}.tar.gz"
- NDS2_CLIENT="http://software.ligo.org/lscsoft/source/nds2-client-${NDS2_CLIENT_VERSION}.tar.gz"
matrix:
include:
- python: 2.6
env: STRICT=false
- python: 2.7
env: STRICT=false
- python: 3.5
env: STRICT=false
- python: 2.7
env: STRICT=true PRE="--pre"
allow_failures:
- python: 2.7
env: STRICT=true PRE="--pre"
- python: 3.5
env: STRICT=false
before_install:
# update pip
- pip install -q ${PRE} --upgrade pip
# build and install numpy first
- pip install -q ${PRE} "numpy>=1.9.1"
# build src packages
- source .travis/build-src-dependencies.sh
# install cython to speed up scipy build
- travis_retry pip install -q ${PRE} --install-option="--no-cython-compile" Cython
# install testing dependencies
- pip install -q ${PRE} coveralls "pytest>=2.8" unittest2
install:
- pip install ${PRE} -r requirements.txt
- python setup.py build
script:
- . .travis/run-tests.sh
- pip install .
after_success:
- coveralls
notifications:
slack:
secure: jQdoSpwNbUnq0Eo7o6Ko7vuhu58LQdfy8jFKxLUnUjv/GLezK/PPAQCU9SgmyDPh1yD8sb5Xa8UtbNfGtpYdwBAGwZxPHz3oQQAflivFwcF6UP7/NlAB9muSOOnL0QfQyX1I4sIKOkX+gkl+TBciX4v58B8NUU02dDkwDqTLUqQ=
cache:
apt: true
pip: true
ccache: true
directories:
# cache src builds
- ./swig-${SWIG_VERSION}
- ./fftw-${FFTW_VERSION}
- ./fftw-${FFTW_VERSION}-float
- ./ldas-tools-${LDAS_TOOLS_VERSION}
- ./libframe-${LIBFRAME_VERSION}
- ./lal-${LAL_VERSION}
- ./lalframe-${LALFRAME_VERSION}
- ./nds2-client-${NDS2_CLIENT_VERSION}