forked from cobrateam/splinter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (40 loc) · 1.21 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
# Copyright 2012-2016 splinter authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
sudo: required
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-v0.23.0-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- ./travis-install.bash
language: python
addons:
chrome: stable
firefox: "62.0"
python:
- "2.7"
- "3.6"
env:
- DRIVER=tests/test_flaskclient.py
- DRIVER=tests/test_webdriver_remote.py
- DRIVER=tests/test_webdriver_firefox.py
- DRIVER=tests/test_webdriver_chrome.py
- DRIVER=tests/test_browser.py
- DRIVER=tests/test_element_list.py
- DRIVER=tests/test_request_handler.py
matrix:
include:
- python: 2.7
env:
- DJANGO_VERSION=1.7.11 DRIVER=tests/test_djangoclient.py
- DRIVER=tests/test_zopetestbrowser.py
- python: 3.6
env: DJANGO_VERSION=2.0.6 DRIVER=tests/test_djangoclient.py
install:
- export PATH=$HOME:$PATH
- make dependencies
script: ./run_tests.py -w ${DRIVER}
dist: trusty