Skip to content

Commit fa817f5

Browse files
author
denfromufa
authored
Update .travis.yml
1 parent d6db941 commit fa817f5

File tree

1 file changed

+47
-9
lines changed

1 file changed

+47
-9
lines changed

.travis.yml

Lines changed: 47 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,48 @@
1-
os:
2-
- linux
3-
- osx
1+
#os:
2+
# - linux
3+
# - osx
44
sudo: required
5+
# Manually install python on osx
6+
7+
#matrix:
8+
# language: python
9+
# python:
10+
# - 2.6
11+
# - 2.7
12+
# - 3.2
13+
# - 3.4
14+
# - 3.5
15+
516
language: python
6-
python:
7-
- 2.6
8-
- 2.7
9-
- 3.2
10-
- 3.4
11-
- 3.5
17+
18+
matrix:
19+
include:
20+
- os: linux
21+
#sudo: required
22+
python: 2.7
23+
env: TOXENV=py27
24+
- os: linux
25+
python: 3.3
26+
env: TOXENV=py33
27+
- os: linux
28+
python: 3.4
29+
env: TOXENV=py34
30+
- os: linux
31+
python: 3.5
32+
env: TOXENV=py35
33+
- os: osx
34+
language: generic
35+
env: TOXENV=py27
36+
- os: osx
37+
language: generic
38+
env: TOXENV=py33
39+
- os: osx
40+
language: generic
41+
env: TOXENV=py34
42+
- os: osx
43+
language: generic
44+
env: TOXENV=py35
45+
1246
before_install:
1347
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe"
1448
- sudo apt-get install software-properties-common
@@ -19,9 +53,13 @@ before_install:
1953
- sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install mono-devel mono-complete referenceassemblies-pcl ca-certificates-mono nunit-console
2054

2155
install:
56+
#- ./.travis/install.sh
57+
- pip install tox
58+
- pip install tox-travis
2259
- pip install six
2360
- pip install pycparser
2461
- python setup.py build_ext --inplace
2562
script:
63+
- tox
2664
- export PYTHONPATH=`pwd`:$PYTHONPATH
2765
- python src/tests/runtests.py

0 commit comments

Comments
 (0)