Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Commit e796078

Browse files
committed
Use more Pythons on Travis
1 parent 4ab4b6a commit e796078

File tree

2 files changed

+35
-13
lines changed

2 files changed

+35
-13
lines changed

.travis.yml

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,36 @@
1+
if: tag IS present OR type = pull_request OR (branch = master AND type = push) # we only CI the master, tags and PRs
12
language: python
2-
before_install:
3-
- sudo apt-get update -qq
4-
- sudo apt-get install -y graphviz
3+
4+
sudo: false
5+
6+
addons:
7+
apt:
8+
packages:
9+
- graphviz
10+
11+
512
install:
6-
- pip install tox
7-
script:
8-
- tox
9-
env:
10-
- TOXENV=py26
11-
- TOXENV=py27
12-
- TOXENV=py33
13-
- TOXENV=py34
14-
- TOXENV=pep8
13+
pip install tox
14+
15+
script: tox
16+
17+
matrix:
18+
include:
19+
- env: TOXENV=py27
20+
python: 2.7
21+
- env: TOXENV=py34
22+
python: 3.4
23+
- env: TOXENV=py35
24+
python: 3.5
25+
- env: TOXENV=py36
26+
python: 3.6
27+
- env: TOXENV=py37
28+
python: 3.7
29+
dist: xenial
30+
sudo: true
31+
- env: TOXENV=py38
32+
python: 3.8-dev
33+
dist: xenial
34+
sudo: true
35+
# - env: TOXENV=py36-linters
36+
# python: 3.6

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py26, py27, py33, py34
2+
envlist = py27, py36, py37
33

44
[testenv]
55
usedevelop = True

0 commit comments

Comments
 (0)