Skip to content

Commit

Permalink
Skip Danger when the GitHub API token is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
bcylin committed Sep 17, 2017
1 parent a05ac87 commit 70a14a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ install:
- bundle install --jobs=3 --retry=3 --deployment
- bundle exec pod install --project-directory=Example
before_script:
- bundle exec danger
- if [ -n "$DANGER_GITHUB_API_TOKEN" ]; then bundle exec danger; else echo "Missing DANGER_GITHUB_API_TOKEN"; fi
script:
- make -B test
- make -B carthage
Expand Down

0 comments on commit 70a14a5

Please sign in to comment.