forked from martinblech/xmltodict
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
43 lines (36 loc) · 1.12 KB
/
.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
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
env:
- JYTHON=true
- JYTHON=false
matrix:
exclude:
- python: "2.6"
env: JYTHON=true
- python: "2.7"
env: JYTHON=true
- python: "3.2"
env: JYTHON=true
- python: "3.3"
env: JYTHON=true
- python: "3.4"
env: JYTHON=true
- python: "3.5"
env: JYTHON=true
- python: "3.6"
env: JYTHON=true
before_install:
- export JYTHON_URL='http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7.0/jython-installer-2.7.0.jar'
- if [ "$JYTHON" == "true" ]; then wget $JYTHON_URL -O jython_installer.jar; java -jar jython_installer.jar -s -d $HOME/jython; export PATH=$HOME/jython:$PATH; jython ez_setup.py; $HOME/jython/bin/easy_install nose; fi
install:
- if [ "$TRAVIS_PYTHON_VERSION" == "2.6" ]; then pip install ordereddict ; fi
before_script: if [ "$JYTHON" == "true" ]; then export NOSE=$HOME/jython/bin/nosetests NOSE_OPTIONS=""; else export NOSE=nosetests NOSE_OPTIONS="--with-coverage --cover-package=xmltodict"; fi
script: $NOSE $NOSE_OPTIONS