Update .travis.yml
This commit is contained in:
parent
81ead2ab4e
commit
c0d6ba08b8
1 changed files with 0 additions and 9 deletions
|
|
@ -3,19 +3,10 @@ jdk:
|
|||
- oraclejdk12
|
||||
- openjdk12
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- sshpass
|
||||
|
||||
after_success:
|
||||
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
||||
- chmod +x send.sh
|
||||
- ./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:
|
||||
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
||||
- chmod +x send.sh
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue