This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2017-02-26 21:24:53 +00:00
|
|
|
# Build status located at https://travis-ci.org/citra-emu/citra-web
|
|
|
|
|
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
|
|
|
- "6"
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- echo '========== Importing wiki articles into hugo =========='
|
|
|
|
- cd ./scripts/wiki/
|
|
|
|
- npm install
|
|
|
|
- node app.js
|
|
|
|
- cd $TRAVIS_BUILD_DIR
|
|
|
|
|
2017-06-01 22:20:27 +00:00
|
|
|
- echo '========== Importing games wiki articles into hugo =========='
|
|
|
|
- cd ./scripts/games/
|
|
|
|
- npm install
|
|
|
|
- node app.js
|
|
|
|
- cd $TRAVIS_BUILD_DIR
|
|
|
|
|
2017-02-26 21:24:53 +00:00
|
|
|
- echo '========== Importing twitter tweets into hugo =========='
|
|
|
|
- cd ./scripts/twitter/
|
|
|
|
- npm 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
|
|
|
|
- hugo version
|
|
|
|
|
|
|
|
- echo '========== Configuring Github Pages =========='
|
|
|
|
- git config --global user.email "citra+citrabotweb@citra-emu.org"
|
|
|
|
- git config --global user.name "CitraBotWeb"
|
2017-02-26 21:37:48 +00:00
|
|
|
- set-up-ssh --key "$encrypted_c7ee54b5843f_key" --iv "$encrypted_c7ee54b5843f_iv" --path-encrypted-key "bf215181b5140522137b3d4f6b73544a.enc"
|
2017-02-26 21:24:53 +00:00
|
|
|
|
|
|
|
- echo '========== Starting gulp deploy task =========='
|
|
|
|
- gulp deploy
|
|
|
|
- cd $TRAVIS_BUILD_DIR
|
|
|
|
|
|
|
|
env:
|
|
|
|
- HUGO_ENV=PRD
|
|
|
|
|
|
|
|
# set-up-ssh is provided by travis-scripts.
|
|
|
|
# Setting up the SSH key for Github is described here.
|
|
|
|
# https://github.com/alrra/travis-scripts/blob/master/doc/github-deploy-keys.md
|