-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
41 lines (33 loc) · 1.17 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
language: python
python:
- 2.6
- 2.7
notifications:
on_success: change
on_failure: change
# Miniconda-based setup of the Scipy stack Based on
# https://gist.github.com/dan-blanchard/7045057.
# Setup anaconda
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -f
- export PATH=/home/travis/miniconda2/bin:$PATH
- conda update --yes conda
- conda create --yes -n condaenv python=$TRAVIS_PYTHON_VERSION
- conda install --yes -n condaenv pip
- source activate condaenv
# Install packages
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then conda install --yes python=$TRAVIS_PYTHON_VERSION argparse; fi
- conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy scipy
- python setup.py install
# See: https://github.com/coagulant/coveralls-python. When I have tests, this should be "script".
# nosetests --with-coverage --cover-package=multipool --logging-level=INFO
before_script:
- pip install coveralls
- coverage run --source=multipool setup.py test
script: python mp_inference.py poolK1_chr12.txt -n 100 -np
sudo: false
after_success:
- coveralls