diff --git a/.travis.yml b/.travis.yml index 29ad162..f289fa4 100644 --- a/.travis.yml +++ b/.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 =========='