Skip to content

Commit

Permalink
ci(Travis): install latest yarn from repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Telljohann-Smothers committed Sep 26, 2017
1 parent 011191b commit 1d43447
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
language: node_js
cache:
yarn: true
directories:
- node_modules
notifications:
email: false
node_js: 'node'
sudo: required
before_install:
- npm install -g yarn@latest
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
- yarn global add greenkeeper-lockfile@latest
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
Expand Down

0 comments on commit 1d43447

Please sign in to comment.