Merge pull request #893 from ahorek/fix_ci

fix ci
This commit is contained in:
Karel Picman 2018-07-31 08:14:55 +02:00 committed by GitHub
commit e898cfae46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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