This commit is contained in:
pavel 2018-07-30 22:13:30 +02:00
parent 42d381dca8
commit ae2c61d677

View File

@ -31,18 +31,21 @@ rvm:
before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS test CHARACTER SET utf8mb4;'
- psql -c 'create database test;' -U postgres
install:
script:
- export WORKSPACE=`pwd`/workspace
- export PATH_TO_DMSF=`pwd`
- export PATH_TO_REDMINE=$WORKSPACE/redmine
- export BUNDLE_GEMFILE=$PATH_TO_REDMINE/Gemfile
- mkdir -p ${WORKSPACE}
- cp -f ./test/ci/${DB}.yml ${WORKSPACE}/database.yml
- 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
after_script:
- bash -x ./test/ci/redmine_install.sh -u
env:
@ -52,9 +55,6 @@ env:
cache: bundler
gemfile:
- ${PATH_TO_REDMINE}/Gemfile
services:
- mysql
- postgresql