Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
granted tests pass, should auto deploy to now
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed Jun 19, 2018
1 parent ef162b1 commit 256ce2a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,31 @@ node_js:
- '10'
cache:
yarn: true
script:
- yarn test
before_install:
- yarn global add greenkeeper-lockfile@1
before_script:
- greenkeeper-lockfile-update
after_script:
- greenkeeper-lockfile-upload
before_deploy:
- npm install now --no-save
deploy:
- provider: script
script: now --token $NOW_TOKEN && now alias --token $NOW_TOKEN
skip_cleanup: true
on:
tags: true
all_branches: true
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+
- provider: script
script: now --token $NOW_TOKEN && now alias canary.mcansh.blog
skip_cleanup: true
on:
tags: true
all_branches: true
condition: $TRAVIS_TAG =~ ^canary.*$
notifications:
email:
on_success: never
Expand Down

0 comments on commit 256ce2a

Please sign in to comment.