Skip to content

Commit

Permalink
chore(ci): use Travis jobs & stages
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Dec 1, 2018
1 parent accfc56 commit f81cc70
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .travis.yml
@@ -1,11 +1,11 @@
sudo: false
dist: trusty

language: node_js
node_js: 8

notifications:
email: false
branches:
except:
- /^v\d+\.\d+\.\d+$/

cache:
yarn: true
Expand All @@ -23,9 +23,13 @@ install:
script:
- true

after_success:
- yarn travis-deploy-once "yarn semantic-release"
jobs:
include:
- stage: Release
if: branch = master AND type = push
node_js: node
script: yarn semantic-release

notifications:
email: false

branches:
except:
- /^v\d+\.\d+\.\d+$/

0 comments on commit f81cc70

Please sign in to comment.