chore(ci): simplify stages

This commit is contained in:
Nico Rehwaldt 2018-02-26 09:29:32 +01:00
parent 06c7a12a4e
commit dce2425c5c

View File

@ -1,26 +1,18 @@
language: node_js language: node_js
node_js: node_js:
- 'node' - 'node'
before_install:
- npm install -g wiredeps@0.2
- wiredeps --default-branch=master --branch=$TRAVIS_BRANCH --tag=$TRAVIS_TAG --verbose
sudo: false
script: npm test
jobs: jobs:
include: include:
- stage: test - stage: test
addons: addons:
firefox: "latest-esr" firefox: 'latest-esr'
before_script: before_install:
- "export DISPLAY=:99.0" - npm install -g wiredeps@0.2
- "sh -e /etc/init.d/xvfb start" - wiredeps --default-branch=master --branch=$TRAVIS_BRANCH --tag=$TRAVIS_TAG --verbose
- sleep 3
script: script:
- TEST_BROWSERS=Firefox,PhantomJS npm run all - TEST_BROWSERS=Firefox,PhantomJS xvfb-run npm run all
- stage: update integration test - stage: update integration test
script: './tasks/stages/update-integration-test' script: './tasks/stages/update-integration-test'
- stage: update examples - stage: update examples