Skip to content
This repository was archived by the owner on May 11, 2018. It is now read-only.

Commit ac9cf86

Browse files
Change how yarn is installed on travis
1 parent 81a7a82 commit ac9cf86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ before_install:
2222
- nvm use $TRAVIS_NODE_VERSION
2323
- npm set loglevel error
2424
- npm set progress false
25-
- 'if [ $PKG_CMD = "yarn" ]; then npm i -g yarn@0.22.0 ; fi'
25+
- 'if [ $PKG_CMD = "yarn" ]; then curl -o- -L https://yarnpkg.com/install.sh | bash && PATH=$HOME/.yarn/bin:$PATH ; fi'
2626
install:
2727
- $PKG_CMD install
2828
script:

0 commit comments

Comments
 (0)