Skip to content

Commit

Permalink
chore: reorder stages
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobiah committed Mar 19, 2020
1 parent 22a1486 commit 9731a0b
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
language: node_js
os: linux
cache:
directories:
- ~/.npm
dist: bionic
cache: npm
notifications:
email: false
node_js:
- node
- "lts/*"
- "10.16.0"
- "9.11.2"
- "8.16.0"
- "8.9.0"
- 'node'
- 'lts/*'
- 13
- 12
- 11
- 10
- 9
- 8

install: npm install

stages:
- name: lint
- name: coverage
- lint
- test
- coverage
- name: release
if: branch = master && type NOT IN (pull_request)
- name: docs
Expand All @@ -27,17 +29,14 @@ jobs:
include:
- stage: lint
script: npm run lint
- stage: test
script: npm test
- stage: coverage
script: npm run coverage
- stage: release
node_js: node
deploy:
provider: script
cleanup: false
script:
- npx semantic-release
script: npx semantic-release
- stage: docs
script:
- chmod +x ./.github/update_docs.sh
Expand Down

0 comments on commit 9731a0b

Please sign in to comment.