summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorSean Molenaar <SMillerDev@users.noreply.github.com>2019-12-25 07:01:54 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2019-12-25 07:01:54 +0100
commit5ab64657bd31de0d86a17612e879e7bf9b165dcf (patch)
treeeda1e134a8dbe9b74ffb804a31257f79c09d4e46 /.travis.yml
parent5de8bed01e4959fabc26691a390fcc020b70e2ae (diff)
Bump versions and remove outdated file (#583)
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml23
1 files changed, 14 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 231e8805a..d5e8d1d8f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,9 @@
-sudo: false
-dist: trusty
+dist: bionic
language: php
php:
- 7.2
- 7.3
- - 7.4snapshot
+ - 7.4
- nightly
env:
@@ -18,7 +17,7 @@ matrix:
allow_failures:
- env: CORE_BRANCH=master
- php: nightly
- - php: 7.4snapshot
+ - php: 7.4
include:
- php: 7.3
env: DB=sqlite
@@ -40,13 +39,19 @@ before_install:
before_script:
- if [[ "$DB" == 'pgsql' ]]; then psql -c "CREATE ROLE oc_autotest LOGIN PASSWORD 'oc_autotest'" -U postgres; fi
- if [[ "$DB" == 'pgsql' ]]; then psql -c "CREATE DATABASE oc_autotest OWNER oc_autotest;" -U postgres; 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 'oc_autotest';"; fi
- - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "GRANT ALL ON oc_autotest.* TO 'oc_autotest'@'localhost';"; fi
+ - 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
# fill nextcloud with default configs and enable news
- cd nextcloud
- mkdir data
- - ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database $DB --database-pass="oc_autotest"
+ - ./occ maintenance:install
+ --admin-user="admin"
+ --admin-pass="admin"
+ --database "${DB}"
+ --database-name="oc_autotest"
+ --database-user="oc_autotest"
+ --database-pass="oc_autotest"
- ./occ app:enable news
- ./occ app:check-code news
- ./occ background:cron # enable default cron
@@ -65,5 +70,5 @@ after_success:
addons:
firefox: "latest-beta"
- postgresql: "9.6"
+ postgresql: "10"
mariadb: "10.4"