Skip to content

Instantly share code, notes, and snippets.

@pascaliske
Created April 8, 2019 14:42
Show Gist options
  • Save pascaliske/dafc86041cac474279a33c738ffdbd2e to your computer and use it in GitHub Desktop.
Save pascaliske/dafc86041cac474279a33c738ffdbd2e to your computer and use it in GitHub Desktop.
Reproducable yarn installs in TravisCI with Greenkeeper enabled.
language: node_js
node_js:
- '11'
install:
- if [[ "$TRAVIS_PULL_REQUEST_BRANCH" == *"greenkeeper"* ]]; then yarn install; else yarn install --frozen-lockfile; fi
script:
- echo "Hello World"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment