Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/npm publish #46

Merged
merged 1 commit into from
Mar 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 16 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,28 @@ branches:
cache:
yarn: true


before_install:
- npm install --global yarn@1.10.1
before_script:
- yarn bootstrap

jobs:
include:
- stage: Build and Run Test Coveralls
script:
- yarn build
- yarn test:cov
- stage: Release
- stage: Build and Test
script:
- yarn build
deploy:
- provider: script
on:
branch: canary
skip_cleanup: true
script:
- echo "RELEASING CANARY"
- provider: script
on:
branch: master
skip_cleanup: true
script:
- echo "RELEASING STABLE"

- yarn test:cov

deploy:
- provider: script
on:
branch: canary
skip_cleanup: true
script:
- echo "RELEASING CANARY"
- provider: script
on:
branch: master
skip_cleanup: true
script:
- echo "RELEASING STABLE"