Created
October 20, 2016 13:10
-
-
Save braidn/615b98bcbe9385acb6321aadea097954 to your computer and use it in GitHub Desktop.
Before install for Travis-Ci For Yarn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| before_install: | |
| - "export NODE_VERSION=6" | |
| # Build me a Node | |
| - "rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $NODE_VERSION" | |
| # Repo for Yarn | |
| - "sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3" | |
| - "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 install" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment