forked from gwdetchar/gwdetchar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (39 loc) · 1006 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
36
37
38
39
40
41
42
43
44
45
46
language: python
addons:
apt:
packages:
- gfortran # scipy
- libblas-dev # scipy
- liblapack-dev # scipy
- swig # m2crypto
matrix:
include:
- python: 2.6
- python: 2.7
env: PRE=""
- python: 2.7
env: PRE="--pre"
- python: 3.5
allow_failures:
- python: 2.6
- python: 2.7
env: PRE="--pre"
- python: 3.5
before_install:
- pip install -q --upgrade pip
# need to install astropy 1.1 specifically for py26
- if [[ ${TRAVIS_PYTHON_VERSION} == '2.6' ]]; then pip install "astropy==1.1"; fi
- pip install ${PRE} -r requirements.txt
- pip install coveralls unittest2 pytest
install:
- pip install .
script:
- coverage run --source=gwdetchar --omit="gwdetchar/_version.py" ./setup.py test
- .travis/test-exe.sh gwdetchar-software-saturations --help
- .travis/test-exe.sh gwdetchar-scattering --help
- .travis/test-exe.sh gwdetchar-overflow --help
after_success:
- coveralls
cache:
apt: true
pip: true