Skip to content

Commit 522d53e

Browse files
committed
fix: Travis CI not running correctly
1 parent aedb9e6 commit 522d53e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ node_js:
99
script:
1010
- npm run test:prod && npm run build
1111
after_success:
12-
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once --pro "npm run deploy-docs"; fi
13-
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once --pro "npm run semantic-release"; fi
12+
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run deploy-docs"; fi
13+
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run semantic-release"; fi
1414
branches:
1515
except:
1616
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"semantic-release": "semantic-release",
4242
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
4343
"precommit": "lint-staged",
44-
"travis-deploy-once": "travis-deploy-once"
44+
"travis-deploy-once": "travis-deploy-once --pro"
4545
},
4646
"lint-staged": {
4747
"src/**/*.{js,ts,json}": [

0 commit comments

Comments
 (0)