Switch back to xenial du to issues with postgresql repo

This commit is contained in:
VirtuBox
2019-09-20 21:22:43 +02:00
parent 941d10dd09
commit 04eb403f83
2 changed files with 9 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
sudo: required
dist: bionic
dist: xenial
language: bash
@@ -21,10 +21,11 @@ before_install:
before_script:
- sudo rm -rf /etc/mysql
- sudo bash -c 'echo example.com > /etc/hostname'
- sudo apt-get -qq purge mysql* graphviz* redis*
- sudo apt-get -qq autoremove --purge
- unset LANG
- sudo apt-get install --assume-yes --quiet git python3-setuptools python3-dev python3-apt ccze tree
- sudo apt-get -qq purge mysql* graphviz* redis*
- sudo apt-get install -qq git python3-setuptools python3-dev python3-apt ccze tree
- sudo apt-get -qq autoremove --purge
after_script:
- sudo cat /etc/nginx/nginx.conf | ccze -A

View File

@@ -9,6 +9,10 @@ CRED="${CSI}1;31m"
CGREEN="${CSI}1;32m"
CEND="${CSI}0m"
apt-get -qq purge mysql* graphviz* redis*
apt-get install -qq git python3-setuptools python3-dev python3-apt ccze tree
sudo apt-get -qq autoremove --purge
exit_script() {
curl --progress-bar --upload-file /var/log/wo/wordops.log https://transfer.vtbox.net/"$(basename wordops.log)" && echo ""
exit 1