Skip to content

Commit

Permalink
Merge pull request #514 from Snugug/feature/yarn
Browse files Browse the repository at this point in the history
Feature/yarn
  • Loading branch information
scottnath committed Oct 31, 2016
2 parents c2f4e85 + d3de076 commit 7e98452
Show file tree
Hide file tree
Showing 3 changed files with 8,326 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .travis.yml
Expand Up @@ -7,16 +7,32 @@ addons:
#########################
## Setup
#########################
sudo: false
sudo: true
cache:
directories:
- node_modules
- $HOME/.yarn-cache
services:
- postgresql

#########################
## Install Yarn
##
## From https://yarnpkg.com/en/docs/install-ci#travis-tab
#########################
before_install:
# 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

install: yarn

before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- npm prune

script: yarn test

after_success:
- npm run coverage
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -91,6 +91,7 @@
"coveralls": "^2.11.9",
"eslint-config-punchcard": "^1.1.1",
"ghooks": "^1.2.4",
"gulp": "^3.9.1",
"input-plugin-text": "^0.1.3",
"lorem-ipsum": "^1.0.3",
"mock-express-response": "^0.1.2",
Expand Down

0 comments on commit 7e98452

Please sign in to comment.