forked from MRN-Code/polyssifier
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
44 lines (35 loc) · 906 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
36
37
38
39
40
41
42
43
# vim ft=yaml
# travis-ci.org definition for Nimfa tests
language: python
sudo: false
cache:
apt: true
addons:
apt:
packages:
- libatlas-dev
- libatlas-base-dev
- liblapack-dev
python:
- "2.7"
- "3.4"
- "3.5"
before_install:
- 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 update --yes conda
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy pytest matplotlib pandas scikit-learn
- pip install pep8 python-coveralls pytest-cov
# Skip setup.py for now
# - pip install -e .
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- "export PYTHONPATH=$PYTHONPATH:."
script:
- py.test --cov=polyssifier
after_success:
- coveralls