-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
52 lines (52 loc) · 2.06 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
44
45
46
47
48
49
50
51
52
language: python
matrix:
include:
- name: "Python 2.7 on Ubuntu 16.04"
os: precise
python: 2.7
install:
- pip install six
- pip install future
script:
- python -m request_parser.tests.requests.requests
- python -m request_parser.tests.settings.settings
- python -m request_parser.tests.uploadhandlers.uploadhandlers
- name: "Python 2.7 on OSX"
os: osx
language: shell
install:
- pip install six
- pip install future
script:
- python -m request_parser.tests.requests.requests
- python -m request_parser.tests.settings.settings
- python -m request_parser.tests.uploadhandlers.uploadhandlers
# - name: "Python 2.7 on Windows"
# os: windows
# language: shell
# before_install:
# - choco install python2
# - python -m pip install --upgrade pip
# env: PATH=/c/Python27:/c/Python27/Scripts:$PATH
- name: "Jython on OSX"
os: osx
language: shell
jdk:
- oraclejdk6
before_install:
- pwd && ls -l
- mkdir ~/Downloads/Jython
- mkdir ~/Downloads/Jython/Lib
- wget -O ~/Downloads/Jython/jython.jar https://repo1.maven.org/maven2/org/python/jython-standalone/2.7.1/jython-standalone-2.7.1.jar
- wget -O ~/Downloads/future.tar.gz https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz
- wget -O ~/Downloads/six.tar.gz https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz
- cd ~/Downloads/
#- pwd
- mkdir future
- mkdir six
- tar -xzf future.tar.gz -C future --strip-components 1 && mv future/src/future/ ~/Downloads/Jython/Lib/
- tar -xvzf six.tar.gz -C six --strip-components 1 && mv six/six.py ~/Downloads/Jython/Lib/
- cd /Users/travis/build/wrvenkat/request_parser
- chmod +x .travis/run-jython-tests.sh
install:
"./.travis/run-jython-tests.sh"