0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

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: node_js:
- "4" - "4"
- "6" - "6"
sudo: false sudo: false
cache: cache:
directories: directories:
- node_modules - 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: env:
global: global:
- GITHUB_OAUTH_KEY=003a44d58f12089d0c0261338298af3813330949 - GITHUB_OAUTH_KEY=003a44d58f12089d0c0261338298af3813330949
@ -17,16 +26,23 @@ env:
matrix: matrix:
- DB=sqlite3 NODE_ENV=testing - DB=sqlite3 NODE_ENV=testing
- DB=mysql NODE_ENV=testing-mysql - DB=mysql NODE_ENV=testing-mysql
matrix: matrix:
include: include:
- node_js: "4" - node_js: "4"
env: TEST_SUITE=lint env: TEST_SUITE=lint
fast_finish: true fast_finish: true
branches: branches:
except: except:
- /^greenkeeper-.+$/ - /^greenkeeper-.+$/
before_install: before_install:
- if [ $DB == "mysql" ]; then mysql -e 'create database ghost_testing'; fi - if [ $DB == "mysql" ]; then mysql -e 'create database ghost_testing'; fi
install:
- yarn
after_success: after_success:
- | - |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then

6060
yarn.lock Normal file

File diff suppressed because it is too large Load diff