Skip to content

Instantly share code, notes, and snippets.

@joemckie
Last active November 23, 2016 20:31
Show Gist options
  • Select an option

  • Save joemckie/ddefb638577c34f50146d16d86a03fb1 to your computer and use it in GitHub Desktop.

Select an option

Save joemckie/ddefb638577c34f50146d16d86a03fb1 to your computer and use it in GitHub Desktop.
dependencies:
pre:
# Install Yarn
- 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
override:
- yarn
cache_directories:
- ~/.yarn-cache
test:
override:
- yarn test
machine:
pre:
- mkdir ~/.yarn_cache
node:
version: 7
environment:
NODE_ENV: test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment