summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index eaa2d141d..de35c38e0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,8 @@ language: php
php:
- 5.6
- 7
+ - 7.1
+
env:
global:
- CORE_BRANCH=master
@@ -36,8 +38,8 @@ before_install:
- mv news nextcloud/apps/
before_script:
- - if [[ "$DB" == 'pgsql' ]]; then createuser -U postgres -s oc_autotest; fi
- - if [[ "$DB" == 'pgsql' ]]; then createdb -U postgres oc_autotest; fi
+ - if [[ "$DB" == 'pgsql' ]]; then createuser -U postgres -s "oc_autotest"; fi
+ - if [[ "$DB" == 'pgsql' ]]; then createdb -U postgres "oc_autotest"; fi
- if [[ "$DB" == 'mysql' ]]; then mysql -u root -e 'create database oc_autotest;'; fi
- if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "CREATE USER 'oc_autotest'@'localhost' IDENTIFIED BY '';"; fi
- if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "grant all on oc_autotest.* to 'oc_autotest'@'localhost';"; fi