Update travis

This commit is contained in:
VirtuBox
2019-09-03 00:20:50 +02:00
parent e1db5099b5
commit c0ee88522b
2 changed files with 2 additions and 3 deletions

View File

@@ -25,10 +25,10 @@ before_script:
- sudo apt-get install --assume-yes --quiet git python3-setuptools python3-dev python3-apt ccze tree
after_script:
- sudo cat /var/log/wo/wordops.log | ccze -A -p syslog -C
- sudo cat /etc/nginx/nginx.conf | ccze -A
- sudo cat /etc/mysql/my.cnf | ccze -A
- sudo bash install --purge
- curl --progress-bar --upload-file /var/log/wo/wordops.log https://transfer.vtbox.net/"$(basename wordops.log)" && echo "" | sudo tee -a $HOME/.transfer.log && echo ""
script:

View File

@@ -10,8 +10,7 @@ CGREEN="${CSI}1;32m"
CEND="${CSI}0m"
exit_script() {
tar -I pigz -cf wordops.tar.gz /var/log/wo
curl --progress-bar --upload-file wordops.tar.gz https://transfer.vtbox.net/"$(basename wordops.tar.gz)" && echo "" | sudo tee -a $HOME/.transfer.log && echo ""
curl --progress-bar --upload-file /var/log/wo/wordops.log https://transfer.vtbox.net/"$(basename wordops.log)" && echo "" | sudo tee -a $HOME/.transfer.log && echo ""
exit 1
}