Merge branch 'travis' into devel-2.4.6

This commit is contained in:
karel.picman@lbcfree.net 2020-12-22 09:16:38 +01:00
commit 99b24b8023
3 changed files with 11 additions and 7 deletions

View File

@ -23,13 +23,15 @@ language: ruby
sudo: true
dist: xenial
dist: bionic
rvm:
- 2.6
before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS test CHARACTER SET utf8mb4;'
before_script:
- sudo mysql -e 'CREATE DATABASE IF NOT EXISTS test CHARACTER SET utf8mb4;'
- sudo mysql -e "CREATE USER 'dmsf'@'localhost' IDENTIFIED BY 'eGCq9ueVpUH3'";
- sudo mysql -e "GRANT ALL PRIVILEGES ON test.* TO 'dmsf'@'localhost'";
- psql -c 'create database test;' -U postgres
- export WORKSPACE=`pwd`/workspace
- export PATH_TO_DMSF=`pwd`
@ -40,8 +42,6 @@ before_install:
- bash -x ./test/ci/redmine_install.sh -c
- bash -x ./test/ci/redmine_install.sh -i
install:
script:
- bash -x ./test/ci/redmine_install.sh -t
@ -49,6 +49,7 @@ after_script:
- bash -x ./test/ci/redmine_install.sh -u
env:
global:
- DB=sqlite REDMINE_GIT_TAG=4.0-stable
- DB=mysql REDMINE_GIT_TAG=4.0-stable
- DB=postgres REDMINE_GIT_TAG=4.0-stable
@ -63,4 +64,4 @@ services:
- postgresql
addons:
mariadb: '10.3'
mariadb: '10.4'

View File

@ -20,6 +20,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
source 'https://rubygems.org'
gem 'zip-zip'
gem 'simple_enum'
gem 'uuidtools'

View File

@ -2,6 +2,7 @@
test:
adapter: mysql2
database: test
username: root
username: dmsf
password: "eGCq9ueVpUH3"
encoding: utf8mb4
collation: utf8mb4_unicode_ci