forked from ChrisBeaumont/toasty
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
28 lines (24 loc) · 880 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
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-2.0.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-2.2.2-Linux-x86_64.sh -O miniconda.sh; fi
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/anaconda/bin:$PATH
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
install:
- conda install --yes pip numpy=1.8 cython astropy setuptools
- pip install --use-mirrors pytest coveralls pytest-cov pyfits
- pip install --upgrade pillow
- (pip install --use-mirrors healpy && python -c "import healpy") || echo "could not install healpy"
- python setup.py build_ext --inplace
- python setup.py build
script:
- py.test --cov toasty toasty
after_success:
- coveralls