We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7203790 commit 2a3fda4Copy full SHA for 2a3fda4
.ci/check_travis_deploy_vars.sh
@@ -0,0 +1,9 @@
1
+#!/bin/bash
2
+
3
+set -ex
4
5
+if [[ $TRAVIS_BRANCH == master && $TRAVIS_EVENT_TYPE == push &&
6
+ ! "$GITHUB_TOKEN" ]]; then
7
+ echo "Please set GITHUB_TOKEN in your Travis CI environment settings"
8
+ false
9
+fi
.travis.yml
@@ -47,6 +47,7 @@ jobs:
47
script: coala --non-interactive -V
48
49
before_install:
50
+ - .ci/check_travis_deploy_vars.sh
51
- npm config set spin false
52
53
before_script:
0 commit comments