Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Commit

Permalink
Update CI with latest versions of ruby and redmine
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwolfz committed Apr 8, 2021
1 parent c4d1aee commit 2b3df7f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
1 change: 1 addition & 0 deletions .ruby-gemset
@@ -0,0 +1 @@
redmine-tags
28 changes: 18 additions & 10 deletions .travis.yml
Expand Up @@ -5,30 +5,37 @@ services:
- postgresql

rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.4.10
- 2.5.9
- 2.6.7
- 2.7.3

matrix:
allow_failures:
# Master may fail for any reason, on any ruby version.
# It's good to keep an eye on it in case if fails because of us.
- rvm: 2.3.8
- rvm: 2.4.10
env: REDMINE_VER=master DB=mysql
- rvm: 2.4.5
- rvm: 2.5.9
env: REDMINE_VER=master DB=mysql
- rvm: 2.5.3
- rvm: 2.6.7
env: REDMINE_VER=master DB=mysql
- rvm: 2.2.10
- rvm: 2.7.3
env: REDMINE_VER=master DB=mysql
- rvm: 2.4.10
env: REDMINE_VER=master DB=postgresql
- rvm: 2.3.8
- rvm: 2.5.9
env: REDMINE_VER=master DB=postgresql
- rvm: 2.4.5
- rvm: 2.6.7
env: REDMINE_VER=master DB=postgresql
- rvm: 2.5.3
- rvm: 2.7.3
env: REDMINE_VER=master DB=postgresql

env:
- REDMINE_VER=4.2-stable DB=mysql
- REDMINE_VER=4.2-stable DB=postgresql
- REDMINE_VER=4.1-stable DB=mysql
- REDMINE_VER=4.1-stable DB=postgresql
- REDMINE_VER=4.0-stable DB=mysql
- REDMINE_VER=4.0-stable DB=postgresql
- REDMINE_VER=master DB=mysql
Expand All @@ -43,6 +50,7 @@ before_install:
- ln -s $TRAVIS_BUILD_DIR $REDMINE_PATH/plugins/$PLUGIN_NAME
- cp config/database-$DB-travis.yml $REDMINE_PATH/config/database.yml
- cd $REDMINE_PATH
- mysql -e 'CREATE DATABASE IF NOT EXISTS redmine;' || psql -c 'create database redmine;' -U postgres || true

before_script:
- make -f plugins/redmine_tags/Makefile prepare
Expand Down
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -16,4 +16,5 @@ ci:
# ```
.PHONY: prepare
prepare:
@rails db:create db:migrate || true
@rake db:create db:migrate redmine:plugins:migrate

0 comments on commit 2b3df7f

Please sign in to comment.