forked from EFForg/https-everywhere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (46 loc) · 1.16 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
# Config copied from
# http://www.theautomatedtester.co.uk/blog/2012/using-travis-ci-for-building-and-testing-firefox-addons.html
language: python
python:
- "2.7"
cache:
directories:
- $HOME/.cache/pip
- $HOME/virtualenv/python2.7_with_system_site_packages
addons:
apt:
packages:
- libxml2-dev
- libxml2-utils
- python-dev
- libcurl4-openssl-dev
- python-lxml
- python-software-properties
- chromium-browser
virtualenv:
system_site_packages: true
install:
- pip install -r test/rules/requirements.txt
- pip install -r test/chromium/requirements.txt
env:
- FIREFOX_VERSION=firefox-latest
- FIREFOX_VERSION=firefox-esr-latest
before_script:
- sudo apt-get install chromium-chromedriver
- wget -O /tmp/firefox.tar.bz2 'https://download.mozilla.org/?os=linux64&lang=en-US&product='$FIREFOX_VERSION
- tar xpjf /tmp/firefox.tar.bz2
- export FIREFOX=$PWD/firefox/firefox
script:
- ./test.sh
sudo: required
dist: trusty
notifications:
email:
recipients:
notifications:
irc:
channels:
- "irc.oftc.net#https-everywhere"
on_success: change
on_failure: change