forked from sunpy/sunpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (34 loc) · 1.24 KB
/
.travis.yml
File metadata and controls
41 lines (34 loc) · 1.24 KB
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
language: python
python:
- 2.7
virtualenv:
system_site_packages: false
#There are a few environments configured, we specify a minumum version of mpl
#and a exact version of Numpy to test against.
env:
- NUMPY_VERSION=1.7.1 MATPLOTLIB_VERSION=1.2 SUDS_PKG='suds-jurko'
matrix:
include:
- python: 2.6
env: NUMPY_VERSION=1.7.1 MATPLOTLIB_VERSION=1.2 SUDS_PKG='suds'
- python: 2.7
env: NUMPY_VERSION=1.6.2 MATPLOTLIB_VERSION=1.2 SUDS_PKG='suds-jurko'
- python: 2.6
env: NUMPY_VERSION=1.6.2 MATPLOTLIB_VERSION=1.2 SUDS_PKG='suds'
before_install:
# We do this to make sure we get the dependencies so pip works below
- sudo apt-get update -qq
- sudo apt-get install -qq cython libatlas-dev liblapack-dev gfortran
install:
#Install Numpy first so we force the version we are using
- pip install numpy==$NUMPY_VERSION -q --use-mirrors
# Install the other requirements to the desired version
- pip install matplotlib>=$MATPLOTLIB_VERSION -q --use-mirrors
- pip install pyfits --use-mirrors
- pip install pandas -q --use-mirrors
- pip install scipy --use-mirrors
- pip install -q pytest $SUDS_PKG beautifulsoup4
# command to run tests
script:
- python setup.py develop
- py.test