forked from cobrateam/splinter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (59 loc) · 2.67 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
54
55
56
57
58
59
60
# Copyright 2012-2015 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.
addons:
firefox: "38.0.5"
language: python
python:
- "2.7"
- "3.3"
- "3.4"
env:
- DJANGO_VERSION=1.5.12 DRIVER=tests/test_djangoclient.py
- DJANGO_VERSION=1.6.11 DRIVER=tests/test_djangoclient.py
- DJANGO_VERSION=1.6.11 DRIVER=tests/test_flaskclient.py
- DJANGO_VERSION=1.6.11 DRIVER=tests/test_webdriver_remote.py
- DJANGO_VERSION=1.6.11 DRIVER=tests/test_webdriver_firefox.py
- DJANGO_VERSION=1.6.11 DRIVER=tests/test_zopetestbrowser.py
- DJANGO_VERSION=1.6.11 DRIVER=tests/test_webdriver_phantomjs.py
- DJANGO_VERSION=1.6.11 DRIVER=tests/test_webdriver_chrome.py
- DJANGO_VERSION=1.7.8 DRIVER=tests/test_djangoclient.py
- DJANGO_VERSION=1.7.8 DRIVER=tests/test_flaskclient.py
- DJANGO_VERSION=1.7.8 DRIVER=tests/test_webdriver_remote.py
- DJANGO_VERSION=1.7.8 DRIVER=tests/test_webdriver_firefox.py
- DJANGO_VERSION=1.7.8 DRIVER=tests/test_zopetestbrowser.py
- DJANGO_VERSION=1.7.8 DRIVER=tests/test_webdriver_phantomjs.py
- DJANGO_VERSION=1.7.8 DRIVER=tests/test_webdriver_chrome.py
- DJANGO_VERSION=1.8.2 DRIVER=tests/test_djangoclient.py
- DJANGO_VERSION=1.8.2 DRIVER=tests/test_flaskclient.py
- DJANGO_VERSION=1.8.2 DRIVER=tests/test_webdriver_remote.py
- DJANGO_VERSION=1.8.2 DRIVER=tests/test_webdriver_firefox.py
- DJANGO_VERSION=1.8.2 DRIVER=tests/test_zopetestbrowser.py
- DJANGO_VERSION=1.8.2 DRIVER=tests/test_webdriver_phantomjs.py
- DJANGO_VERSION=1.8.2 DRIVER=tests/test_webdriver_chrome.py
matrix:
exclude:
- python: "3.3"
env: DRIVER=tests/test_zopetestbrowser.py
exclude:
- python: "3.4"
env: DRIVER=tests/test_zopetestbrowser.py
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# - sudo apt-get install libxss1 xdg-utils -y
# - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
# - sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
# - sudo apt-get update
# - sudo apt-get install google-chrome-stable
# - wget https://chromedriver.googlecode.com/files/chromedriver_linux32_26.0.1383.0.zip -O chromedriver.zip
# - unzip chromedriver.zip
# - sudo cp chromedriver /usr/local/bin
# - sudo chmod 755 /usr/local/bin/chromedriver
# - wget http://selenium.googlecode.com/files/selenium-server-standalone-2.32.0.jar -O selenium-server.jar
# - java -jar selenium-server.jar > /dev/null &
# - export PATH=./firefox:$PATH
install:
- pip install -q Django==$DJANGO_VERSION
- make dependencies
script: ./run_tests.py -w ${DRIVER}