2017-02-26 16:24:53 -05:00
|
|
|
# Build status located at https://travis-ci.org/citra-emu/citra-web
|
|
|
|
|
2017-08-29 21:16:03 -05:00
|
|
|
# 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
|
|
|
|
|
2017-02-26 16:24:53 -05:00
|
|
|
language: node_js
|
|
|
|
|
2017-09-05 22:32:03 -04:00
|
|
|
node_js:
|
|
|
|
- "node"
|
|
|
|
- "8"
|
2017-06-04 11:52:35 -04:00
|
|
|
|
2017-09-05 22:32:03 -04:00
|
|
|
cache: yarn
|
2017-02-26 16:24:53 -05:00
|
|
|
|
|
|
|
before_script:
|
2017-06-27 18:54:43 -04:00
|
|
|
- echo '========== Installing gulp & dependencies =========='
|
2017-06-10 16:48:13 -04:00
|
|
|
- sudo apt-get install graphicsmagick
|
2017-06-10 16:35:01 -04:00
|
|
|
- convert -help
|
2017-06-04 11:52:35 -04:00
|
|
|
- yarn global add @alrra/travis-scripts
|
2017-07-15 19:08:50 -04:00
|
|
|
- yarn global add hugo-bin
|
|
|
|
- hugo version
|
2017-06-04 11:52:35 -04:00
|
|
|
- yarn global add gulp
|
2017-08-29 22:17:23 -04:00
|
|
|
- yarn install
|
2017-02-26 16:24:53 -05:00
|
|
|
|
|
|
|
- echo '========== Configuring Github Pages =========='
|
|
|
|
- git config --global user.email "citra+citrabotweb@citra-emu.org"
|
|
|
|
- git config --global user.name "CitraBotWeb"
|
2017-02-26 16:37:48 -05:00
|
|
|
- set-up-ssh --key "$encrypted_c7ee54b5843f_key" --iv "$encrypted_c7ee54b5843f_iv" --path-encrypted-key "bf215181b5140522137b3d4f6b73544a.enc"
|
2017-02-26 16:24:53 -05:00
|
|
|
|
|
|
|
- echo '========== Starting gulp deploy task =========='
|
2017-08-29 22:17:23 -04:00
|
|
|
- gulp all --production
|
2017-02-26 16:24:53 -05:00
|
|
|
|
2017-06-10 00:06:53 -04:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- mods@citra-emu.org
|