Skip to content

Commit

Permalink
Add Travis CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
David Cetinkaya committed Mar 18, 2019
1 parent b5740c2 commit 9463707
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: node_js
node_js:
- '8'
- '9'

cache: yarn

install: yarn
script:
- yarn lint
- yarn test

jobs:
include:
- stage: npm release
if: tag IS present
node_js: '8'
deploy:
provider: npm
email: '$NPM_EMAIL'
api_key: '$NPM_TOKEN'
skip_cleanup: true
on:
tags: true

0 comments on commit 9463707

Please sign in to comment.