Move travis files and reduce verbosity

This commit is contained in:
Nabeel Shahzad
2017-12-13 17:10:43 -06:00
parent ce8a33582c
commit e8fd9411ee
4 changed files with 4 additions and 5 deletions

12
.travis/deploy_script.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
if test "$TRAVIS_TAG"; then
PKG_NAME=$TRAVIS_TAG
else
PKG_NAME=nightly
fi
echo $PKG_NAME
#rm -rf .git deploy_rsa.enc .idea phpvms.iml
tar -czf $PKG_NAME.tar.gz -C $TRAVIS_BUILD_DIR .
rsync -r --delete-after --quiet $PKG_NAME.tar.gz downloads@phpvms.net:/var/www/downloads/