2020-01-14 21:52:39 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2020-01-17 21:07:26 +00:00
|
|
|
|
2020-01-14 21:52:39 +00:00
|
|
|
language: node_js
|
2020-02-12 15:34:34 +00:00
|
|
|
|
2020-01-14 21:52:39 +00:00
|
|
|
node_js:
|
|
|
|
- 12
|
2020-02-12 15:34:34 +00:00
|
|
|
|
2020-04-03 14:20:08 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2020-01-14 21:52:39 +00:00
|
|
|
before_script:
|
|
|
|
- export DISPLAY=:99.0
|
|
|
|
- sh -e /etc/init.d/xvfb start
|
2020-02-12 15:34:34 +00:00
|
|
|
|
2020-01-14 21:52:39 +00:00
|
|
|
install:
|
|
|
|
- npm install
|
2020-02-12 15:34:34 +00:00
|
|
|
|
2020-02-14 19:51:02 +00:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
|
|
|
|
2020-01-14 21:52:39 +00:00
|
|
|
script:
|
|
|
|
- npm run ci
|
2020-02-12 15:34:34 +00:00
|
|
|
|
2020-02-07 03:12:33 +00:00
|
|
|
deploy:
|
|
|
|
provider: script
|
2020-04-03 14:15:08 +00:00
|
|
|
script: bash ./deploy.sh
|
2020-04-03 19:37:46 +00:00
|
|
|
skip_cleanup: true
|
2020-02-07 03:12:33 +00:00
|
|
|
on:
|
|
|
|
branch: master
|
2020-04-03 14:15:08 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
recipients:
|
|
|
|
- dan@sartography.com
|