Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Commit

Permalink
fix: 🐛 Remove unnecessary steps
Browse files Browse the repository at this point in the history
  • Loading branch information
manhhailua committed Aug 20, 2019
1 parent 89ea5d8 commit 34faec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ language: node_js

node_js:
- lts/*
- node

before_script:
- npx flow-typed install
Expand All @@ -17,18 +16,15 @@ jobs:
include:
- stage: test
script: sh scripts/test.sh
- stage: prepare
script: sh scripts/deploy.sh --branch=$TRAVIS_PULL_REQUEST_BRANCH
- stage: release
script: skip
before_script: skip
deploy:
provider: script
skip_cleanup: true
script: sh scripts/deploy.sh

stages:
- name: test
- name: prepare
- name: release
if: branch = master

Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
yarn build
yarn semantic-release $1
yarn semantic-release

0 comments on commit 34faec8

Please sign in to comment.