2016-02-05 01:09:01 +03:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
2016-07-29 13:05:43 +03:00
|
|
|
- "5.11.1"
|
2016-02-05 01:09:01 +03:00
|
|
|
|
2016-04-26 21:57:39 +03:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
|
2016-02-20 16:20:57 +03:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
|
2016-02-20 03:50:49 +03:00
|
|
|
addons:
|
2016-05-09 17:09:02 +03:00
|
|
|
firefox: "46.0"
|
2016-02-20 03:50:49 +03:00
|
|
|
|
2016-02-05 01:09:01 +03:00
|
|
|
before_install:
|
2016-03-01 21:47:39 +03:00
|
|
|
# see https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
|
2016-02-05 01:09:01 +03:00
|
|
|
- "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"
|
2016-04-26 21:57:39 +03:00
|
|
|
- pip -V
|
2016-03-01 21:47:39 +03:00
|
|
|
- sleep 3
|
2016-02-05 01:09:01 +03:00
|
|
|
|
2016-02-20 16:20:57 +03:00
|
|
|
install:
|
|
|
|
- npm config set spin false
|
|
|
|
- npm install
|
2016-04-26 21:57:39 +03:00
|
|
|
- sudo pip install -r requirements.txt
|
2016-02-20 16:20:57 +03:00
|
|
|
|
2016-02-05 01:09:01 +03:00
|
|
|
before_script:
|
2016-02-20 03:50:49 +03:00
|
|
|
- export FIREFOX_BIN=`which firefox`
|
2016-02-05 19:25:43 +03:00
|
|
|
- export JPM_FIREFOX_BINARY=`which firefox`
|
2016-02-05 01:09:01 +03:00
|
|
|
- firefox -v
|
2016-02-05 19:25:43 +03:00
|
|
|
- echo $JPM_FIREFOX_BINARY
|
2016-02-05 01:09:01 +03:00
|
|
|
|
|
|
|
script:
|
|
|
|
- npm run travis
|
2016-03-01 21:46:53 +03:00
|
|
|
|
2016-04-26 21:57:39 +03:00
|
|
|
deploy:
|
2016-05-09 17:09:02 +03:00
|
|
|
skip_cleanup: true
|
|
|
|
provider: script
|
|
|
|
script: bin/continuous-integration.sh
|
|
|
|
on:
|
|
|
|
branch: master
|
2016-04-26 21:57:39 +03:00
|
|
|
|
2016-03-01 21:46:53 +03:00
|
|
|
notifications:
|
|
|
|
email: false
|