Skip to content

Commit

Permalink
fix: Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
matfax committed Mar 5, 2019
1 parent 1411cc7 commit 35382ee
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
language: node_js
node_js: node
cache: yarn

branches:
only:
- master
- /^[0-9]+\.[0-9]+\.[0-9]+/

script: echo "Running tests against $(node -v) ..."
- master
- /^[0-9]+\.[0-9]+\.[0-9]+/

jobs:
include:
- stage: "Integration Tests"
script: yarn test
- stage: deploy
script: yarn publish
if: tag IS present

cache:
yarn: true
directories:
- node_modules

0 comments on commit 35382ee

Please sign in to comment.