From d3e3bbde0f66609f47318a695cbcb72e6817d5d7 Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Mon, 24 Sep 2018 09:48:38 +0200 Subject: [PATCH] New ruby version for travis tests and adjustments for latest redmine master changes --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13c65ca..481f3d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,9 @@ language: ruby rvm: - - 2.4.1 - - 2.3.4 - - 2.2.7 + - 2.4.4 + - 2.3.7 + - 2.2.10 env: - REDMINE_VER=3.4-stable DB=postgresql @@ -29,8 +29,6 @@ before_install: - export BUNDLE_GEMFILE=$REDMINE_PATH/Gemfile - git clone $REDMINE_GIT_REPO $REDMINE_PATH - cd $REDMINE_PATH - - if [[ "$REDMINE_VER" == "master" ]]; then wget https://www.redmine.org/attachments/download/21044/use_migration_context_with_test2.patch; fi - - if [[ "$REDMINE_VER" == "master" ]]; then patch -p0 < use_migration_context_with_test2.patch; fi - if [[ "$REDMINE_VER" != "master" ]]; then git checkout -b $REDMINE_VER origin/$REDMINE_VER; fi - ln -s $TRAVIS_BUILD_DIR $REDMINE_PATH/plugins/$PLUGIN_NAME - cp $TRAVIS_BUILD_DIR/test/support/additional_environment.rb $REDMINE_PATH/config/