2018-05-27 01:26:16 +02:00
|
|
|
language: go
|
2018-10-31 00:17:49 +02:00
|
|
|
go: 1.11.x
|
2019-07-28 00:10:55 +02:00
|
|
|
node_js: 11.15.0
|
2019-08-03 04:36:37 +02:00
|
|
|
before_install:
|
|
|
|
- openssl aes-256-cbc -K $encrypted_ff954c97a679_key -iv $encrypted_ff954c97a679_iv -in .docs-deploy-key.pem.enc -out .docs-deploy-key -d
|
|
|
|
- export GA_SERVICE_ACCOUNT_KEY=$(cat .docs-deploy-key)
|
2018-05-27 01:36:23 +02:00
|
|
|
install: make install
|
2018-10-31 00:17:49 +02:00
|
|
|
script:
|
|
|
|
- make build
|
|
|
|
- make test
|
2018-10-31 00:19:49 +02:00
|
|
|
- git clone https://github.com/mgechev/revive.run revive-docs && cd revive-docs
|
2018-10-31 21:55:27 +02:00
|
|
|
- npm i || true
|
|
|
|
- npm run build || true
|
2018-10-31 00:24:34 +02:00
|
|
|
- git config --global user.email "mgechev@gmail.com"
|
2018-10-31 01:32:27 +02:00
|
|
|
- git config --global user.name "mgechev"
|
2018-10-31 00:17:49 +02:00
|
|
|
- git add .
|
2018-10-31 00:27:44 +02:00
|
|
|
- git commit -am 'Travis CI deployment'
|
2018-10-31 21:55:27 +02:00
|
|
|
- git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" || true
|
2018-10-31 00:17:49 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GH_REF: github.com/mgechev/revive.run.git
|
|
|
|
- secure: Bp2/fJOVEor5aj3rNwA3+4/wecCmX2mVQ2pQt1AJ1n+pT6MjKYywswTDT6kzK/Cu1bPcfEGh3a7XKieAhIWVKvchoyYVV8J80F76HGyqgSBuzFXvV0c32zFn2LtxQxvmtCNynjmGAV57dHtsxGmHxkX9u8JIJ4J06E2Eq9nuuflTCf5o5gHtaE7P7hQT2WL/JRJVABHUMa0XzsMuUdRNO0OBXGMm+SqiWEcZetf2Vq3tfo2LL4ula99oTKKspg0iRKiauCZZaRxyZG/V3Q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