Skip to content

Commit bffcb0d

Browse files
committed
Update Travis CI config
1 parent db19ff9 commit bffcb0d

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

.travis.yml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,29 @@
1-
# Config file for automatic testing at travis-ci.org
2-
3-
sudo: false
1+
dist: xenial
42
language: python
53

4+
cache:
5+
directories:
6+
- $HOME/.cache/pip
7+
68
matrix:
79
include:
810
- python: 2.7
9-
env: TOX_ENV=py27
11+
env: TOXENV=py27
1012
- python: 3.4
11-
env: TOX_ENV=py34
13+
env: TOXENV=py34
1214
- python: 3.5
13-
env: TOX_ENV=py35
15+
env: TOXENV=py35
1416
- python: 3.6
15-
env: TOX_ENV=py36
17+
env: TOXENV=py36
18+
- python: 3.7
19+
env: TOXENV=py37
1620
- python: pypy
1721
env: TOX_ENV=pypy
18-
- python: 3.6
19-
env: TOX_ENV=flake8
22+
- python: 3.7
23+
env: TOXENV=flake8
2024

2125
install:
2226
- pip install tox
2327

2428
script:
25-
- tox -e $TOX_ENV
26-
27-
before_cache:
28-
- rm -rf $HOME/.cache/pip/log
29-
30-
cache:
31-
directories:
32-
- $HOME/.cache/pip
29+
- tox

0 commit comments

Comments
 (0)