Update .travis.yml
This commit is contained in:
parent
e39b8f90d1
commit
eab67874a8
1 changed files with 9 additions and 0 deletions
|
|
@ -3,10 +3,19 @@ jdk:
|
||||||
- oraclejdk12
|
- oraclejdk12
|
||||||
- openjdk12
|
- openjdk12
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- sshpass
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
||||||
- chmod +x send.sh
|
- chmod +x send.sh
|
||||||
- ./send.sh success $WEBHOOK_URL
|
- ./send.sh success $WEBHOOK_URL
|
||||||
|
|
||||||
|
- export SSHPASS=$SFTP_PASSWORD
|
||||||
|
- sshpass -e scp Hadder.jar $SFTP_USER@$SFTP_IP:$SFTP_DIR
|
||||||
|
- sshpass -e ssh $SFTP_USER@$SFTP_IP $SFTP_DIR/deploy.sh
|
||||||
after_failure:
|
after_failure:
|
||||||
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
||||||
- chmod +x send.sh
|
- chmod +x send.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue