we dont use travis

This commit is contained in:
ZeroEpoch1969 2019-08-11 14:16:48 -07:00
parent e7ebc51847
commit 1951d9adea
No known key found for this signature in database
GPG Key ID: A7BAB4E14F089CF3
2 changed files with 0 additions and 25 deletions

View File

@ -1,12 +0,0 @@
language: java
jdk:
- oraclejdk8
notifications:
email: false
addons:
apt:
packages:
- sshpass
script: mvn clean install
after_success:
- ./travis-upload.sh

View File

@ -1,13 +0,0 @@
#!/bin/sh
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
mv target/TotalFreedomMod.jar target/TotalFreedomMod-${TRAVIS_COMMIT}.jar
export SSHPASS=${SFTP_PASSWORD}
sshpass -e sftp -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oLogLevel=ERROR -oBatchMode=no -b - ${SFTP_USER}@${SFTP_HOST}:${SFTP_PATH} << !
put target/TotalFreedomMod-${TRAVIS_COMMIT}.jar
bye
!
echo "Artifact upload status: "$?
else
echo "Skipping artifact upload for pull request build."
fi