wip travis
authorgggeek <giunta.gaetano@gmail.com>
Sun, 13 Dec 2020 16:08:42 +0000 (16:08 +0000)
committergggeek <giunta.gaetano@gmail.com>
Sun, 13 Dec 2020 16:08:42 +0000 (16:08 +0000)
tests/ci/setup/create_user.sh [changed mode: 0644->0755]
tests/ci/setup/install_packages.sh [changed mode: 0644->0755]
tests/ci/setup/setup_apache.sh [changed mode: 0644->0755]
tests/ci/setup/setup_composer.sh [changed mode: 0644->0755]
tests/ci/setup/setup_php.sh [changed mode: 0644->0755]
tests/ci/setup/setup_php_travis.sh [changed mode: 0644->0755]
tests/ci/setup/setup_privoxy.sh [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index c760675..9775818
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+# Has to be run as admin
+
 set -e
 
 DEBIAN_FRONTEND=noninteractive apt-get install -y \
old mode 100644 (file)
new mode 100755 (executable)
index 781f203..193d399
@@ -1,12 +1,12 @@
 #!/bin/sh
 
-set -e
-
+# Install and configure apache2
+# Has to be run as admin
 # @todo make this work across all apache versions (precise to focal)
 
-SCRIPT_DIR="$(dirname -- "$(readlink -f "$0")")"
+set -e
 
-# install and configure apache2
+SCRIPT_DIR="$(dirname -- "$(readlink -f "$0")")"
 
 DEBIAN_FRONTEND=noninteractive apt-get install -y apache2
 
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index ad94b81..e45765c
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+# Has to be run as admin
+
 # To be kept in sync with setup_php_travis.sh
 
 set -e
old mode 100644 (file)
new mode 100755 (executable)
index fd37f14..63ddcad
@@ -39,8 +39,9 @@ if [ -d ~/.phpenv/versions/${PHPVER}/etc/php-fpm.d ]; then
     fi
 fi
 
+# @todo run php-fpm as root, and set up 'travis' as user in www.conf, instead ?
 ~/.phpenv/versions/${PHPVER}/sbin/php-fpm
 
 # @todo configure apache for php-fpm via mod_proxy_fcgi...
-sudo a2enconf php${PHPVER}-fpm
-sudo service apache2 restart
+#sudo a2enconf php${PHPVER}-fpm
+#sudo service apache2 restart
old mode 100644 (file)
new mode 100755 (executable)
index a0477dd..c39e62f
@@ -1,8 +1,9 @@
 #!/bin/sh
 
-set -e
+# Install and configure privoxy
+# Has to be run as admin
 
-# install and configure privoxy
+set -e
 
 SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"