Skip to content

Commit

Permalink
ci: update Yarn with the recommended official commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Ruf committed Dec 20, 2018
1 parent 9dffe62 commit 1a92452
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
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 1a92452

Please # to comment.