Skip to content

Commit

Permalink
ci(travis): add travis step
Browse files Browse the repository at this point in the history
  • Loading branch information
artentica authored and blex41 committed Jan 14, 2019
1 parent 9f8365a commit d474fa8
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,25 @@ language: node_js
node_js:
- "9"

cache: ~/.npm

install:
- npm install

script:
- npm run coverage
branches:
only:
- master

stages:
- lint
- test
- coverage

jobs:
include:
- stage: lint
script: npm run lint
- stage: test
script: npm run test
- stage: coverage
script: npm run coverage

0 comments on commit d474fa8

Please sign in to comment.