forked from cobrateam/splinter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (28 loc) · 1.23 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
# Copyright 2012 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.
language: python
python:
- "2.7"
- "3.3"
env:
- PATH=./firefox:${PATH}
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 &
- wget http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/20.0/linux-i686/en-US/firefox-20.0.tar.bz2
- tar -xjf firefox-20.0.tar.bz2
# - export PATH=./firefox:$PATH
install: make dependencies
script: make test