Testing package caching with yarn for TravisCI.
This commit is contained in:
parent
263a52ce5e
commit
bd32a1f0e0
17
.travis.yml
17
.travis.yml
@ -2,32 +2,33 @@
|
|||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
node_js:
|
node_js: "6"
|
||||||
- "6"
|
|
||||||
|
cache: yarn
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo '========== Importing wiki articles into hugo =========='
|
- echo '========== Importing wiki articles into hugo =========='
|
||||||
- cd ./scripts/wiki/
|
- cd ./scripts/wiki/
|
||||||
- npm install
|
- yarn install
|
||||||
- node app.js
|
- node app.js
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
|
||||||
- echo '========== Importing games wiki articles into hugo =========='
|
- echo '========== Importing games wiki articles into hugo =========='
|
||||||
- cd ./scripts/games/
|
- cd ./scripts/games/
|
||||||
- npm install
|
- yarn install
|
||||||
- node app.js
|
- node app.js
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
|
||||||
- echo '========== Importing twitter tweets into hugo =========='
|
- echo '========== Importing twitter tweets into hugo =========='
|
||||||
- cd ./scripts/twitter/
|
- cd ./scripts/twitter/
|
||||||
- npm install
|
- yarn install
|
||||||
- node app.js
|
- node app.js
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
|
||||||
- echo '========== Installing gulp / hugo dependencies =========='
|
- echo '========== Installing gulp / hugo dependencies =========='
|
||||||
- npm install -g @alrra/travis-scripts
|
- yarn global add @alrra/travis-scripts
|
||||||
- npm install -g gulp
|
- yarn global add gulp
|
||||||
- npm install -g hugo-bin
|
- yarn global add hugo-bin
|
||||||
- hugo version
|
- hugo version
|
||||||
|
|
||||||
- echo '========== Configuring Github Pages =========='
|
- echo '========== Configuring Github Pages =========='
|
||||||
|
Loading…
Reference in New Issue
Block a user