We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93424b1 commit 27ab620Copy full SHA for 27ab620
.travis.yml
@@ -32,6 +32,9 @@ matrix:
32
- node_js: "6"
33
os: linux
34
env: NODE_SCRIPT="tests/run_e2e.js --eject --glob=tests/build/**"
35
+ - node_js: "6"
36
+ os: linux
37
+ env: DEPLOY_SCRIPT="scripts/git-builds.js"
38
39
# Optional builds.
40
@@ -64,9 +67,4 @@ before_install:
64
67
script:
65
68
- if [[ "$SCRIPT" ]]; then npm run-script $SCRIPT; fi
66
69
- if [[ "$NODE_SCRIPT" ]]; then node $NODE_SCRIPT; fi
-
-deploy:
- provider: script
70
- script: node scripts/git-builds.js
71
- on:
72
- branch: master
+ - if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]; then node $DEPLOY_SCRIPT; fi
0 commit comments