Skip to content

Commit d447d6f

Browse files
authored
Update .travis for speed up Jython tests (robotframework#1146)
* Update .travis for speed up Jython tests Originally from mihaiparvu/SSHLibrary@293ad27 Fixes robotframework#1145
1 parent c26816e commit d447d6f

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.travis.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,10 @@ before_script:
7373
- "export DISPLAY=:99.0"
7474
- "sh -e /etc/init.d/xvfb start"
7575
- if [ "$JYTHON" == "true" ]; then
76-
hg clone http://hg.python.org/jython;
77-
cd jython;
78-
ant;
79-
cd ..;
80-
chmod +x "$(pwd)/jython/dist/bin/jython";
81-
export INTERPRETER="$(pwd)/jython/dist/bin/jython";
82-
alias jython="$(pwd)/jython/dist/bin/jython";
83-
export PATH="$(pwd)/jython/dist/bin:$PATH";
84-
wget --no-verbose https://bootstrap.pypa.io/3.2/get-pip.py;
85-
$INTERPRETER get-pip.py;
76+
wget -O jython.jar http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7.1/jython-installer-2.7.1.jar;
77+
java -jar jython.jar -s -d ~/jython;
78+
export PATH="~/jython/bin:$PATH";
79+
export INTERPRETER=~/jython/bin/jython;
8680
fi
8781
- python -m pip install robotstatuschecker
8882
- echo $INTERPRETER

0 commit comments

Comments
 (0)