forked from jnothman/UpSetPlot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (31 loc) · 1.1 KB
/
.travis.yml
File metadata and controls
35 lines (31 loc) · 1.1 KB
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
language: generic
install:
- test -x $HOME/miniconda/bin/conda || (sudo apt-get update; wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; bash miniconda.sh -u -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
- conda create -c conda-forge -q -n test-environment $CONDA_DEPS $FIXED_CONDA_DEPS
- source activate test-environment
- python setup.py install
- cp ci/matplotlibrc matplotlibrc
script:
- pytest
- flake8
after_success:
- coveralls
env:
global:
- FIXED_CONDA_DEPS="flake8 pytest pytest-cov<2.6 coveralls"
matrix:
include:
- env: CONDA_DEPS="python=2.7 pandas matplotlib"
- env: CONDA_DEPS="python=3.5 pandas=0.20 matplotlib=2.0.2 numpy=1.9.3"
- env: CONDA_DEPS="python=3.6 pandas matplotlib seaborn"
- env: CONDA_DEPS="python pandas matplotlib seaborn scikit-learn" # extra deps to run examples
branches:
only:
- master
- /^[0-9]+\.[0-9]+.*$/