forked from spacepy/spacepy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (42 loc) · 1.27 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
language: python
matrix:
include:
- python: 2.7
env: NUMPY_VERSION="==1.15.4"
- python: 2.7
env: NUMPY_VERSION="==1.13.3"
- python: 2.7
env: NUMPY_VERSION="==1.11.3"
- python: 3.5
env: NUMPY_VERSION=">=1.6,!=1.15.0"
- python: 3.5
env: NUMPY_VERSION="==1.13.3"
- python: 3.6
env: NUMPY_VERSION=">=1.6,!=1.15.0"
- python: 3.6
env: NUMPY_VERSION="==1.13.3"
- python: 3.7
dist: xenial
sudo: yes
env: NUMPY_VERSION=">=1.6,!=1.15.0"
- python: 3.7
dist: xenial
env: NUMPY_VERSION="==1.14.5"
before_install:
- sudo apt-get update -qq
- sudo apt-get install libhdf5-serial-dev gcc gfortran xvfb
install:
- pip install --force-reinstall "numpy${NUMPY_VERSION}"
- pip install scipy
- pip install matplotlib
- pip install h5py
- pip install networkx
- pip install ffnet
- pip freeze #summarize what we have for debug purposes
- wget https://spdf.sci.gsfc.nasa.gov/pub/software/cdf/dist/cdf37_0/linux/cdf37_0-dist-cdf.tar.gz; tar xzf cdf37_0-dist-cdf.tar.gz; cd cdf37_0-dist; make OS=linux ENV=gnu all; make INSTALLDIR=$HOME install; cd ..
script:
- python setup.py install
- cd tests; . /home/travis/bin/definitions.B; xvfb-run python test_spacepy.py
notifications:
webhooks: https://www.travisbuddy.com/
on_success: never