11language : python
22sudo : required
3- dist : trusty
3+ dist : bionic
4+ services :
5+ - xvfb
46env :
57 global :
6- - JYTHON=false
78 - GRID=False
9+ - PYPY=False
810addons :
911 apt :
1012 sources :
@@ -14,35 +16,28 @@ addons:
1416before_install :
1517 - CDVERSION=`curl http://chromedriver.storage.googleapis.com/LATEST_RELEASE`
1618 - echo $CDVERSION
17- - wget --no-verbose http://chromedriver.storage.googleapis.com/$CDVERSION /chromedriver_linux64.zip
19+ - wget --no-verbose http://chromedriver.storage.googleapis.com/76.0.3809.68 /chromedriver_linux64.zip
1820 - unzip chromedriver_linux64.zip
1921 - sudo chmod u+x chromedriver
2022 - sudo mv chromedriver /usr/bin/
2123matrix :
2224 include :
23- - python : " 3.7-dev "
25+ - python : " 3.7"
2426 env :
2527 - BROWSER=headlesschrome
2628 - SELENIUM=3.141.0
2729 - ROBOTFRAMEWORK=3.1.2
2830 - ROBOT_OPTIONS=--dotted
2931 - INTERPRETER=python3
30- - python : " pypy3.5 "
32+ - python : " 3.7 "
3133 env :
3234 - BROWSER=chrome
3335 - SELENIUM=3.141.0
3436 - ROBOTFRAMEWORK=3.1.2
3537 - ROBOT_OPTIONS=--dotted
3638 - INTERPRETER=pypy3
37- - python : " 3.6"
38- env :
39- - BROWSER=headlesschrome
40- - SELENIUM=3.141.0
41- - ROBOTFRAMEWORK=3.1.2
42- - ROBOT_OPTIONS=--dotted
43- - INTERPRETER=python3
44- - JYTHON=true
45- - python : " 3.4"
39+ - PYPY=True
40+ - python : " 3.5"
4641 env :
4742 - BROWSER=headlesschrome
4843 - SELENIUM=3.141.0
@@ -56,34 +51,26 @@ matrix:
5651 - ROBOTFRAMEWORK=3.0.4
5752 - ROBOT_OPTIONS=--dotted
5853 - INTERPRETER=python2
59- - python : " 3.7-dev "
54+ - python : " 3.7"
6055 env :
6156 - BROWSER=headlesschrome
6257 - SELENIUM=3.141.0
6358 - ROBOTFRAMEWORK=3.1.2
6459 - ROBOT_OPTIONS=--dotted
6560 - INTERPRETER=python3
66- - GRID=true
61+ - GRID=True
6762before_script :
68- - " export DISPLAY=:99.0"
69- - " sh -e /etc/init.d/xvfb start"
70- - if [ "$JYTHON" == "true" ]; then
71- wget -O jython.jar http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7.1/jython-installer-2.7.1.jar;
72- java -jar jython.jar -s -d ~/jython;
73- export PATH="~/jython/bin:$PATH";
74- export INTERPRETER=~/jython/bin/jython;
63+ - if [ "$PYPY" == "True" ]; then
64+ sudo snap install pypy3 --classic;
65+ sudo apt-get install virtualenv;
66+ virtualenv -p pypy3 pypy3ve;
67+ . pypy3ve/bin/activate;
7568 fi
7669 - echo $INTERPRETER
7770 - $INTERPRETER --version
7871 - $INTERPRETER -m pip install .
79- - if [ "$JYTHON" == "true" ]; then
80- $INTERPRETER -m pip install mockito;
81- python -m pip install requests;
82- python -m pip install robotstatuschecker;
83- else
84- $INTERPRETER -m pip install -r requirements-dev.txt;
85- fi
86- - if [ "$GRID" == "true" ]; then
72+ - $INTERPRETER -m pip install -r requirements-dev.txt;
73+ - if [ "$GRID" == "True" ]; then
8774 wget --output-document=./selenium-server-standalone.jar http://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar;
8875 sudo chmod u+x ./selenium-server-standalone.jar;
8976 fi
0 commit comments