This repository has been archived by the owner. It is now read-only.
forked from ixti/redmine_tags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·51 lines (44 loc) · 1.36 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: ruby
services:
- mysql
- postgresql
rvm:
- 2.3.8
- 2.4.5
- 2.5.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
env: REDMINE_VER=master DB=mysql
- rvm: 2.4.5
env: REDMINE_VER=master DB=mysql
- rvm: 2.5.3
env: REDMINE_VER=master DB=mysql
- rvm: 2.2.10
env: REDMINE_VER=master DB=postgresql
- rvm: 2.3.8
env: REDMINE_VER=master DB=postgresql
- rvm: 2.4.5
env: REDMINE_VER=master DB=postgresql
- rvm: 2.5.3
env: REDMINE_VER=master DB=postgresql
env:
- REDMINE_VER=4.0-stable DB=mysql
- REDMINE_VER=4.0-stable DB=postgresql
- REDMINE_VER=master DB=mysql
- REDMINE_VER=master DB=postgresql
before_install:
- export PLUGIN_NAME=redmine_tags
- export REDMINE_PATH=$HOME/redmine
- export BUNDLE_GEMFILE=$REDMINE_PATH/Gemfile
- git clone https://github.com/redmine/redmine.git --branch $REDMINE_VER --depth 1 $REDMINE_PATH
# TODO: this needs to be a `mv` once the testing plugin is removed.
- ln -s $TRAVIS_BUILD_DIR $REDMINE_PATH/plugins/$PLUGIN_NAME
- cp config/database-$DB-travis.yml $REDMINE_PATH/config/database.yml
- cd $REDMINE_PATH
before_script:
- make -f plugins/redmine_tags/Makefile prepare
script:
- make -f plugins/redmine_tags/Makefile ci