citra-emu
/
citra-web
Archived
1
0
Fork 0

Testing package caching with yarn for TravisCI.

This commit is contained in:
chris062689 2017-06-04 11:52:35 -04:00
parent 263a52ce5e
commit bd32a1f0e0
1 changed files with 9 additions and 8 deletions

View File

@ -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 =========='