mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Revert Travis config back to npm
This commit is contained in:
parent
2fc7319247
commit
787646a4a2
1 changed files with 6 additions and 5 deletions
|
@ -14,7 +14,6 @@ branches:
|
||||||
- /^greenkeeper-.+$/
|
- /^greenkeeper-.+$/
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
yarn: true
|
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
|
||||||
|
@ -26,14 +25,16 @@ addons:
|
||||||
packages:
|
packages:
|
||||||
- google-chrome-stable
|
- google-chrome-stable
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- npm config --global set spin false
|
||||||
|
- npm install -g npm@^2
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- npm i -g yarn
|
- npm install -g bower
|
||||||
- yarn global add bower
|
- npm install
|
||||||
- yarn
|
|
||||||
- bower install
|
- bower install
|
||||||
|
|
||||||
before_script:
|
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 DISPLAY=:99; sh -e /etc/init.d/xvfb start; sleep 3;
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Add table
Reference in a new issue