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'
|
2019-04-12 14:13:28 +00:00
|
|
|
before_script:
|
|
|
|
- ./tasks/wiredeps
|
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'
|
2020-01-22 13:32:11 +00:00
|
|
|
- stage: update demo
|
|
|
|
script: './tasks/stages/update-demo'
|
2020-01-22 14:41:31 +00:00
|
|
|
- stage: update website
|
|
|
|
script: './tasks/stages/update-website'
|
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
|
2020-01-22 13:32:11 +00:00
|
|
|
if: tag =~ ^v\d
|
|
|
|
- name: update demo
|
2020-01-22 14:41:31 +00:00
|
|
|
if: tag =~ ^v\d
|
|
|
|
- name: update website
|
2017-10-27 10:00:04 +00:00
|
|
|
if: tag =~ ^v\d
|