Skip to content

Commit

Permalink
ignore snyk when var not set (#216)
Browse files Browse the repository at this point in the history
ignore snyk when var not setIt appears the previous approach doesn't work. I speculate that they don't consider that encrypted env variables are ignored for forks. 🤷‍♂️
  • Loading branch information
ryanking authored and czimergebot committed Apr 13, 2019
1 parent 6ba1a14 commit bc22276
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@ jobs:
- bash <(curl -s https://codecov.io/bash)
- stage: check
script:
- snyk monitor --org=czi
- snyk test
if: env(SNYK_TOKEN) IS present
- if [[ ! -z "${SNYK_TOKEN}" ]]; then snyk monitor --org=czi; snyk test; fi

0 comments on commit bc22276

Please sign in to comment.