Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Re-enable yarn in Travis
Browse files Browse the repository at this point in the history
no issue
- we had [previously reverted](e939e8b) the use of `yarn` on Travis as we suspected it as being a culprit in failing editor builds, that wasn't the real cause so this switches us back to using `yarn`
  • Loading branch information
kevinansfield authored and acburdine committed Feb 19, 2017
1 parent fabb82a commit 15f92b2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ branches:
- /^greenkeeper-.+$/

cache:
yarn: true
directories:
- node_modules
- broccoli-persistent-cache
Expand All @@ -26,16 +27,14 @@ addons:
packages:
- google-chrome-stable

before_install:
- npm config --global set spin false
- npm install -g npm@^2

install:
- npm install -g bower
- npm install
- npm i -g yarn
- yarn global add bower
- yarn
- bower install

before_script:
- yarn add --force node-sass # temporary, workaround for https://github.com/yarnpkg/yarn/issues/1981
- export DISPLAY=:99; sh -e /etc/init.d/xvfb start; sleep 3;
- export BROCCOLI_PERSISTENT_FILTER_CACHE_ROOT=/home/travis/build/TryGhost/Ghost-Admin/broccoli-persistent-cache

Expand Down

0 comments on commit 15f92b2

Please sign in to comment.