Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal authored Oct 16, 2019
1 parent 243b7e3 commit 24ed3d0
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ cache:
- ~/.npm
- ~/.cache

install:
- yarn install --frozen-lockfile

stages:
- test
- deploy
Expand All @@ -27,12 +24,19 @@ jobs:
include:
- stage: test
name: Testing

install:
- yarn install --frozen-lockfile
script:
- yarn lint
- yarn docs:build

- stage: deploy
- if: branch = master AND type = push
stage: deploy
name: Deploy
if: branch = master AND type = push
node_js: node
script: yarn semantic-release

install:
- yarn install --frozen-lockfile
script:
- yarn semantic-release

0 comments on commit 24ed3d0

Please sign in to comment.