activity-stream/.travis.yml

46 строки
903 B
YAML
Исходник Обычный вид История

2016-02-05 01:09:01 +03:00
language: node_js
node_js:
- "5.11.1"
2016-02-05 01:09:01 +03:00
python:
- "2.7"
cache:
directories:
- node_modules
addons:
2016-05-09 17:09:02 +03:00
firefox: "46.0"
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"
- pip -V
2016-03-01 21:47:39 +03:00
- sleep 3
2016-02-05 01:09:01 +03:00
install:
- npm config set spin false
- npm install
- sudo pip install -r requirements.txt
2016-02-05 01:09:01 +03:00
before_script:
- export FIREFOX_BIN=`which firefox`
- export JPM_FIREFOX_BINARY=`which firefox`
2016-02-05 01:09:01 +03:00
- firefox -v
- echo $JPM_FIREFOX_BINARY
2016-02-05 01:09:01 +03:00
script:
- npm run travis
deploy:
2016-05-09 17:09:02 +03:00
skip_cleanup: true
provider: script
script: bin/continuous-integration.sh
on:
branch: master
notifications:
email: false