-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
31 lines (25 loc) · 893 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
# config file for automatic testing at travis-ci.org
language: python
python:
- "2.6"
- "2.7"
install:
- sudo apt-get update
# install conda (if you have C-extension dependencies)
# update periodically - saves downloading if version is the same
- wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh;
- 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
# useful for debugging any issues with conda
- conda info -a
# create a new conda env
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy
- source activate test-environment
# install your own package + executables
- python setup.py install
script:
# command to run tests and collect test coverage
- pybamview --help