2018-10-25 18:52:24 +00:00
|
|
|
language: node_js
|
|
|
|
node_js: '10'
|
2015-02-19 13:54:30 +00:00
|
|
|
|
2017-10-27 10:00:04 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: test
|
|
|
|
addons:
|
2018-02-26 08:29:32 +00:00
|
|
|
firefox: 'latest-esr'
|
2017-10-27 10:00:04 +00:00
|
|
|
script:
|
2018-10-01 08:45:18 +00:00
|
|
|
- COVERAGE=1 TEST_BROWSERS=Firefox,PhantomJS xvfb-run npm run all
|
2018-10-25 18:43:04 +00:00
|
|
|
- npx codecov
|
2017-10-27 10:00:04 +00:00
|
|
|
- stage: update integration test
|
|
|
|
script: './tasks/stages/update-integration-test'
|
2018-02-06 11:05:48 +00:00
|
|
|
- stage: update examples
|
|
|
|
script: './tasks/stages/update-examples'
|
2015-02-19 13:54:30 +00:00
|
|
|
|
2017-10-27 10:00:04 +00:00
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
- name: update integration test
|
2018-02-06 11:05:48 +00:00
|
|
|
if: tag =~ ^v\d
|
|
|
|
- name: update examples
|
2017-10-27 10:00:04 +00:00
|
|
|
if: tag =~ ^v\d
|