-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (25 loc) · 779 Bytes
/
.travis.yml
File metadata and controls
31 lines (25 loc) · 779 Bytes
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
sudo: false
language: python
python:
- 2.7
- 3.5
env:
- DEPS="numpy=1.11 matplotlib=2.2.3 jinja2=2.8 pandas=0.18 nose2"
install:
- conda create -n testenv --yes python=$TRAVIS_PYTHON_VERSION
- source activate testenv
- conda install --yes $DEPS
- python setup.py install
before_install:
# setup virtual x
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# then install python version to test
- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
# Learned the hard way: miniconda is not always up-to-date with conda.
- conda update --yes conda
script:
- MPLBE=Agg nose2 mplexporter