forked from TeamHG-Memex/eli5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (45 loc) · 945 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
44
45
46
47
48
49
50
51
52
language: python
sudo: true
branches:
only:
- master
- /^\d\.\d+$/
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 2.7
env: TOXENV=py27-extra
- python: 3.5
env: TOXENV=py35
- python: 3.5
env: TOXENV=py35-extra
- python: 3.5
env: TOXENV=py35-nodeps
- python: 3.6
env: TOXENV=py36
- python: 3.6
env: TOXENV=py36-extra
- python: 3.5
env: TOXENV=mypy
- python: 3.5
env: TOXENV=docs
addons:
apt:
packages:
- python-numpy
- python-scipy
- libatlas-base-dev
- liblapack-dev
- gfortran
before_install:
- sudo apt-get -qq update
- if [[ "$TOXENV" != "py35-nodeps" ]]; then sudo apt-get install graphviz; fi
install:
- pip install -U pip tox codecov
script: tox
after_success:
- codecov
cache:
directories:
- $HOME/.cache/pip