forked from Blosc/bcolz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (28 loc) · 964 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
30
31
32
33
34
35
sudo: false
language: python
python:
- 2.6
- 2.7
- 3.4
- 3.5
install:
# Install conda
- wget http://repo.continuum.io/miniconda/Miniconda-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 conda
# Install dependencies
- conda create -n bcolz_env python=$TRAVIS_PYTHON_VERSION
numpy pandas cython nose coverage numexpr dask
- source activate bcolz_env
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then conda install unittest2 mock; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then conda install mock; fi
# Build bcolz
- python setup.py build_ext --inplace
script:
- nosetests --with-coverage --cover-package bcolz bcolz/tests/test_*.py
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then bash ./coveralls_after_test_succes.sh; fi
notifications:
email: false