Skip to content

Instantly share code, notes, and snippets.

@braidn
Created October 20, 2016 13:10
Show Gist options
  • Select an option

  • Save braidn/615b98bcbe9385acb6321aadea097954 to your computer and use it in GitHub Desktop.

Select an option

Save braidn/615b98bcbe9385acb6321aadea097954 to your computer and use it in GitHub Desktop.
Before install for Travis-Ci For Yarn
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