Skip to content

Commit 24996c9

Browse files
authored
Merge pull request #92 from emmanvg/master
Update Travis CI and Tox configuration
2 parents 1f0d8b8 + d6e1633 commit 24996c9

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dist/
55
*.egg-info
66
.settings/
77
.project
8+
.idea
89
.pydevproject
910
.tox
1011

.travis.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
11
language: python
22

33
python:
4-
- 3.5
5-
6-
env:
7-
- TOXENV=py26
8-
- TOXENV=py27
9-
- TOXENV=py33
10-
- TOXENV=py34
11-
- TOXENV=py35
12-
- TOXENV=rhel6
4+
- "2.6"
5+
- "2.7"
6+
- "3.3"
7+
- "3.4"
8+
- "3.5"
9+
- "3.6"
1310

1411
install:
15-
- pip install -U tox
12+
- pip install -U tox-travis
1613

1714
script:
1815
- tox
1916

20-
branches:
21-
only:
22-
- master
23-
2417
notifications:
2518
email:
2619
- gback@mitre.org

tox.ini

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py26, py27, py33, py34, py35, rhel6
2+
envlist = py26, py27, py33, py34, py35, py36, rhel6
33

44
[testenv]
55
commands =
@@ -10,7 +10,6 @@ deps =
1010
-rrequirements.txt
1111

1212
[testenv:rhel6]
13-
basepython=python2.6
1413
commands =
1514
nosetests maec
1615
deps =
@@ -19,3 +18,12 @@ deps =
1918
mixbox>=0.0.13
2019
python-dateutil==1.4.1
2120
nose
21+
22+
[travis]
23+
python =
24+
2.6: py26, rhel6
25+
2.7: py27
26+
3.3: py33
27+
3.4: py34
28+
3.5: py35
29+
3.6: py36

0 commit comments

Comments
 (0)