forked from sandialabs/toyplot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 1.22 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
sudo: false
language: python
python:
- "2.7"
- "3.3"
addons:
apt:
packages:
- ghostscript
install:
- env | sort
- wget https://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"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION graphviz mock multipledispatch networkx numpy pandas pillow pip reportlab
- source activate test-environment
- pip install arrow behave "colormath>=2.1.0" coverage coveralls nose-exclude
- wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz
- mkdir ffmpeg
- tar xf ffmpeg-release-64bit-static.tar.xz --strip-components 1 -C ffmpeg
- export PATH=$TRAVIS_BUILD_DIR/ffmpeg:$PATH
script:
- coverage run --source toyplot --omit toyplot/testing.py,toyplot/qt/*.py -m nose --exclude-dir toyplot
- coverage run --append --source toyplot --omit toyplot/testing.py,toyplot/qt/*.py -m behave
- coverage report
- python backend-report.py
after_script:
- coveralls