Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Commit

Permalink
Restructure travis definition in order to utilize brand new build sta…
Browse files Browse the repository at this point in the history
…ges. (#5)
  • Loading branch information
alrik committed Jan 9, 2018
1 parent 5aa08c1 commit 280def7
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
language: node_js
node_js:
language: node
node:
- "8"
- "6"
- "9"
- "4"
cache: yarn
git:
depth: 3
script:
- yarn validate-schema
deploy:
provider: npm
email: [email protected]
api_key: $NPM_API_KEY
on:
tags: true
node: "8"
jobs:
include:
- stage: test
script: yarn validate-schema
- stage: deploy
if: tag IS present
deploy:
provider: npm
email: [email protected]
api_key: $NPM_API_KEY
on:
tags: true
node: "8"

0 comments on commit 280def7

Please sign in to comment.