File tree Expand file tree Collapse file tree 3 files changed +24
-37
lines changed
Expand file tree Collapse file tree 3 files changed +24
-37
lines changed Original file line number Diff line number Diff line change 1+ .git /*
Original file line number Diff line number Diff line change 1- # Config copied from
2- # http://www.theautomatedtester.co.uk/blog/2012/using-travis-ci-for-building-and-testing-firefox-addons.html
3- language : python
4- python :
5- - " 2.7"
6- cache :
7- directories :
8- - $HOME/.cache/pip
9- - $HOME/virtualenv/python2.7_with_system_site_packages
10- addons :
11- apt :
12- packages :
13- - libxml2-dev
14- - libxml2-utils
15- - python-dev
16- - libcurl4-openssl-dev
17- - python-lxml
18- - python-software-properties
19- - chromium-browser
20- virtualenv :
21- system_site_packages : true
22- install :
23- - pip install -r test/rules/requirements.txt
24- - pip install -r test/chromium/requirements.txt
25- - PYCURL_SSL_LIBRARY=openssl pip install --upgrade --force-reinstall --compile pycurl
26- env :
27- - FIREFOX_VERSION=firefox-latest
28- - FIREFOX_VERSION=firefox-esr-latest
29- before_script :
30- - sudo apt-get install chromium-chromedriver
31- - wget -O /tmp/firefox.tar.bz2 'https://download.mozilla.org/?os=linux64&lang=en-US&product='$FIREFOX_VERSION
32- - tar xpjf /tmp/firefox.tar.bz2
33- - export FIREFOX=$PWD/firefox/firefox
34- script :
35- - ./test.sh
36- - test/travis-ruleset-fetch.sh
371sudo : required
38- dist : trusty
2+ language : generic
3+ services :
4+ - docker
5+ before_install :
6+ - docker build -t app .
7+ script :
8+ - docker run --rm -ti -v $(pwd):/opt -e FIREFOX=/$FIREFOX/firefox/firefox httpse bash test.sh
9+ - docker run --rm -ti -v $(pwd):/opt -e FIREFOX=/$FIREFOX/firefox/firefox httpse bash test/travis-ruleset-fetch.sh
10+ env :
11+ - FIREFOX=firefox-latest
12+ - FIREFOX=firefox-esr-latest
Original file line number Diff line number Diff line change 1+ FROM electronicfrontierfoundation/https-everywhere-docker-base
2+ MAINTAINER William Budington "bill@eff.org"
3+
4+ WORKDIR /opt
5+ ADD test/rules/requirements.txt test/rules/requirements.txt
6+ ADD test/chromium/requirements.txt test/chromium/requirements.txt
7+ RUN pip install -r test/rules/requirements.txt
8+ RUN pip install -r test/chromium/requirements.txt
9+
10+ ENV FIREFOX /firefox-latest/firefox/firefox
11+
12+ WORKDIR /opt
You can’t perform that action at this time.
0 commit comments