-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 1.15 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
language: python
python:
- '2.7'
- '3.5'
before_install:
# From http://conda.pydata.org/docs/travis.html
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- travis_retry conda create -n test python=$TRAVIS_PYTHON_VERSION pip pytest numpy future bcolz h5py pandas toolz
- source activate test
- travis_retry pip install arpeggio pytest-cov pytest-pep8 codecov scrutinizer-ocular
- travis_retry pip install blosc bloscpack joblib psutil
- travis_retry pip install git+https://github.com/sdvillal/whatami.git@ced628c07bd1#egg=whatami==4.0.git
script:
py.test -v -rs --doctest-modules --pep8 --cov jagged --cov-report term-missing jagged
after_success:
- codecov
- ocular --data-file ".coverage" --config-file ".coveragerc"
notifications:
email: false