Skip to content

Commit

Permalink
chore(travis yml): testing deploy (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinkl committed Mar 19, 2019
1 parent 549d954 commit 7c77358
Showing 1 changed file with 16 additions and 20 deletions.
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"

0 comments on commit 7c77358

Please sign in to comment.