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
|
||||
|
||||
node_js:
|
||||
- "6"
|
||||
node_js: "6"
|
||||
|
||||
cache: yarn
|
||||
|
||||
before_script:
|
||||
- echo '========== Importing wiki articles into hugo =========='
|
||||
- cd ./scripts/wiki/
|
||||
- npm install
|
||||
- yarn install
|
||||
- node app.js
|
||||
- cd $TRAVIS_BUILD_DIR
|
||||
|
||||
- echo '========== Importing games wiki articles into hugo =========='
|
||||
- cd ./scripts/games/
|
||||
- npm install
|
||||
- yarn install
|
||||
- node app.js
|
||||
- cd $TRAVIS_BUILD_DIR
|
||||
|
||||
- echo '========== Importing twitter tweets into hugo =========='
|
||||
- cd ./scripts/twitter/
|
||||
- npm install
|
||||
- yarn install
|
||||
- node app.js
|
||||
- cd $TRAVIS_BUILD_DIR
|
||||
|
||||
- echo '========== Installing gulp / hugo dependencies =========='
|
||||
- npm install -g @alrra/travis-scripts
|
||||
- npm install -g gulp
|
||||
- npm install -g hugo-bin
|
||||
- yarn global add @alrra/travis-scripts
|
||||
- yarn global add gulp
|
||||
- yarn global add hugo-bin
|
||||
- hugo version
|
||||
|
||||
- echo '========== Configuring Github Pages =========='
|
||||
|
|
Reference in New Issue