forked from robotframework/SeleniumLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (53 loc) · 1.37 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
53
language: python
sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_install:
- CDVERSION=`curl http://chromedriver.storage.googleapis.com/LATEST_RELEASE`
- wget http://chromedriver.storage.googleapis.com/$CDVERSION/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo chmod u+x chromedriver
- sudo mv chromedriver /usr/bin/
install:
- pip install .
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
matrix:
include:
- python: "2.7" # For PR and cron
env:
- BROWSER=chrome
- SELENIUM=3.3.1
- ROBOTFRAMEWORK=3.0.2
- python: "2.7" # For PR and cron
env:
- BROWSER=chrome
- SELENIUM=2.53.6
- ROBOTFRAMEWORK=2.9.2
- python: "2.7" # For PR and cron
env:
- BROWSER=chrome
- SELENIUM=3.3.1
- ROBOTFRAMEWORK=2.8.7
- python: "3.3" # For PR and cron
env:
- BROWSER=chrome
- SELENIUM=2.53.6
- ROBOTFRAMEWORK=3.0.2
- python: "3.3" # For cron only
env:
- BROWSER=firefox
- SELENIUM=2.53.6
- ROBOTFRAMEWORK=3.0.1
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- pip install selenium==$SELENIUM
- pip install robotframework==$ROBOTFRAMEWORK
script:
- python test/run_tests.py $BROWSER