-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
29 lines (24 loc) · 886 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
29
# Config file for automatic testing at travis-ci.org
# This file will be regenerated if you run travis_pypi_setup.py
language: python
python:
- 3.6
- 3.5
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
bash ./miniconda.sh -b -p $HOME/miniconda;
export PATH="$HOME/miniconda/bin:$PATH";
conda config --set always_yes yes --set changeps1 no;
conda update -q conda;
conda info -a;
conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION pytest;
source activate testenv;
conda install --file requirements.txt;
conda install scipy;
pip install hypothesis;
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- python setup.py install;
# command to run tests, e.g. python setup.py test
script:
- py.test;