forked from mozilla/activity-stream
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
48 lines (39 loc) · 1.09 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
language: node_js
node_js:
- "5.11.1"
python:
- "2.7"
cache:
directories:
- node_modules
before_install:
# see https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
- "export DISPLAY=:99.0"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
- export PATH="$PATH:$HOME/.rvm/bin"
- pip -V
- sleep 3
install:
- npm config set spin false
- npm install
- sudo pip install -r requirements.txt
before_script:
- bash bin/download-firefox-travis.sh release-linux64-add-on-devel
- export FIREFOX_BIN=./firefox/firefox
- export JPM_FIREFOX_BINARY=./firefox/firefox
- echo $JPM_FIREFOX_BINARY
script:
- npm run travis
deploy:
- provider: script
skip_cleanup: true
script: bin/continuous-integration.sh dev
on:
branch: master
- provider: script
skip_cleanup: true
script: bin/continuous-integration.sh prerelease
on:
branch: release-1.4.0
notifications:
email: false