Skip to content

Commit

Permalink
infra(travis): CI - update Yarn with the recommended official commands
Browse files Browse the repository at this point in the history
ci: update Yarn with the recommended official commands
  • Loading branch information
addyosmani committed Dec 21, 2018
2 parents 8f94d96 + 1a92452 commit 55c894b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Expand Up @@ -9,11 +9,14 @@ cache:
- node_modules

before_install:
- 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
- chmod +x start-server.sh

before_script:
- npm install -g yarn
- yarn install
- yarn
- './start-server.sh'

script:
Expand Down

0 comments on commit 55c894b

Please sign in to comment.