-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 895 Bytes
/
.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
#Build-environment configuration
sudo: required
dist: trusty
#Get the latests chrome version
addons:
chrome: stable
#Specify Python versions
language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "nightly"
#Install preconditions
install:
- pip install -r requirements.txt
#Run the unit_tests
script:
- coverage run --source=pytholenium /home/travis/build/ArgiesDario/pytholenium/pytholenium/unit_tests.py
#Get the chromedriver x64 for linux (version 2.42), put it in path with permissions
before_script:
- wget chromedriver.storage.googleapis.com/2.42/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip -d /home/travis/build/ArgiesDario/pytholenium/pytholenium/test_data
- sudo chmod 777 /home/travis/build/ArgiesDario/pytholenium/pytholenium/test_data/chromedriver
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 5
after_success:
coveralls