add yarn.lock file and cleanup .travis.yml (#7853)

no issue

- add yarn.lock with latest dependencies
- remove unused travis cache lines and install deps via yarn
This commit is contained in:
Austin Burdine 2017-01-23 10:32:49 -05:00 committed by Katharina Irrgang
parent 68741a1106
commit 4dad5ae742
2 changed files with 6078 additions and 2 deletions

View File

@ -3,12 +3,21 @@ language: node_js
node_js:
- "4"
- "6"
sudo: false
cache:
directories:
- node_modules
- core/client/node_modules
- core/client/bower_components
addons:
apt:
sources:
- sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'
packages:
- yarn
env:
global:
- GITHUB_OAUTH_KEY=003a44d58f12089d0c0261338298af3813330949
@ -17,16 +26,23 @@ env:
matrix:
- DB=sqlite3 NODE_ENV=testing
- DB=mysql NODE_ENV=testing-mysql
matrix:
include:
- node_js: "4"
env: TEST_SUITE=lint
fast_finish: true
branches:
except:
- /^greenkeeper-.+$/
before_install:
- if [ $DB == "mysql" ]; then mysql -e 'create database ghost_testing'; fi
install:
- yarn
after_success:
- |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then

6060
yarn.lock Normal file

File diff suppressed because it is too large Load Diff