forked from EFForg/privacybadger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 900 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
35
36
37
38
39
40
41
sudo: required
language: python
os: linux
dist: trusty
python:
- "2.7"
node_js:
- "node"
env:
matrix:
- TRAVIS_EXTRA_JOB_WORKAROUND=true
matrix:
fast_finish: true
include:
- python: "2.7"
env: CHROME="google-chrome-stable"
- python: "3.4"
env: CHROME="google-chrome-stable"
- python: "2.7"
env: CHROME_PATH="google-chrome-beta"
allow_failures:
- python: "2.7"
env: CHROME_PATH="google-chrome-beta"
exclude:
- env: TRAVIS_EXTRA_JOB_WORKAROUND=true
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- google-chrome-beta
- python-virtualenv
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
before_script:
- npm install # install JS dependencies (eslint) from package.json
- . ./scripts/setup_travis.sh
- cd tests
script: travis_retry ./run_selenium_tests.sh