summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTalon24 <talontalon24@gmail.com>2020-03-01 15:49:39 +0100
committerGitHub <noreply@github.com>2020-03-01 15:49:39 +0100
commitcc051c6ce7d32f34f25b45e815535f168521d9c1 (patch)
treefedf63aaaf37d66ea925ea8a3c636fe575d9b07e /.travis.yml
parentca3ac1075ac9a80d08a1828ad9fed58c597d5ed6 (diff)
Different solution for ONLY_FULL_GROUP_BY (see #406) (Issue #80) (#407)
* Group by moved to subquery, get feed details from outer query (see #406) Signed-off-by: Talon <talontalon24@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 4b2cc66a3..8279d1830 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,6 @@
os: linux
dist: bionic
+sudo: false
language: php
php:
@@ -45,6 +46,8 @@ before_script:
- if [[ "$DB" == 'mysql' ]]; then sudo mysql -u root -e 'CREATE DATABASE oc_autotest;'; fi
- if [[ "$DB" == 'mysql' ]]; then sudo mysql -u root -e "CREATE USER 'oc_autotest'@'localhost' IDENTIFIED BY 'oc_autotest';"; fi
- if [[ "$DB" == 'mysql' ]]; then sudo mysql -u root -e "GRANT ALL ON oc_autotest.* TO 'oc_autotest'@'localhost';"; fi
+ - if [[ "$DB" == 'mysql' ]]; then sudo mysql -u root -e "SET GLOBAL sql_mode = 'STRICT_ALL_TABLES,ONLY_FULL_GROUP_BY';"; fi
+
# fill nextcloud with default configs and enable news
- cd nextcloud
- mkdir data