commit
e898cfae46
14
.travis.yml
14
.travis.yml
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user