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