mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
Clean up Travis stuff MOAR
This commit is contained in:
@@ -8,9 +8,9 @@ install: npm install
|
|||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: test
|
- stage: test
|
||||||
script: bash ./deploy/test.sh
|
script: bash ./travis/test.sh
|
||||||
- stage: build
|
- stage: deploy
|
||||||
script: bash ./deploy/deploy.sh
|
script: bash ./travis/deploy.sh
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- ENCRYPTION_LABEL: "af862fa96d3e"
|
- ENCRYPTION_LABEL: "af862fa96d3e"
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Adapted from https://gist.github.com/domenic/ec8b0fc8ab45f39403dd.
|
# Adapted from https://gist.github.com/domenic/ec8b0fc8ab45f39403dd.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# For revert branches, do nothing
|
# For revert branches, do nothing
|
||||||
@@ -47,7 +46,7 @@ ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
|
|||||||
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
|
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
|
||||||
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
|
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
|
||||||
ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
|
ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
|
||||||
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in deploy/deploy-key.enc -out deploy-key -d
|
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in travis/deploy-key.enc -out deploy-key -d
|
||||||
chmod 600 deploy-key
|
chmod 600 deploy-key
|
||||||
eval `ssh-agent -s`
|
eval `ssh-agent -s`
|
||||||
ssh-add deploy-key
|
ssh-add deploy-key
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# For revert branches, do nothing
|
# For revert branches, do nothing
|
||||||
Reference in New Issue
Block a user