Skip to content

Commit

Permalink
chore(travis yml): testing deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinkl committed Mar 5, 2019
1 parent fee656a commit 6ee3ff3
Showing 1 changed file with 23 additions and 19 deletions.
42 changes: 23 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,36 @@ 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
name: "Build Maleo"
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"
- stage: test
name: "Running Test"
script:
- 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"

stages:
- build
- test

0 comments on commit 6ee3ff3

Please sign in to comment.