forked from dfm/george
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (37 loc) · 1.09 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
# Much of this script was adapted from astropy/astropy.
language: python
env:
global:
- NUMPY_VERSION=1.8
matrix:
include:
# All the versions of Python.
- python: 2.6
- python: 2.7
- python: 3.3
- python: 3.4
# Old versions of NumPy.
- python: 2.6
env: NUMPY_VERSION=1.7
- python: 2.7
env: NUMPY_VERSION=1.7
- python: 3.3
env: NUMPY_VERSION=1.7
- python: 2.6
env: NUMPY_VERSION=1.6
- python: 2.7
env: NUMPY_VERSION=1.6
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
install:
- sudo apt-get install -qq libeigen3-dev
- conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
- source activate test
- conda install --yes numpy=$NUMPY_VERSION scipy nose pip Cython
- CXX=g++ python setup.py build_ext --inplace
script:
- nosetests -v