-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy path.travis.yml
87 lines (87 loc) · 2.96 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
language: ruby
rvm:
- 2.1.0
- 2.0.0
gemfile:
- Gemfile
branches:
only:
- devel
- /^fix_.*$/
- /^feat_.*$/
matrix:
include:
- rvm: 2.2.0
env: REDMINE_VERSION=3.0-stable USE_SVN=true DATABASE_ADAPTER=mysql
gemfile: Gemfile
- rvm: 2.2.0
env: REDMINE_VERSION=3.0-stable USE_SVN=true DATABASE_ADAPTER=postgresql
gemfile: Gemfile
- rvm: 2.2.0
env: REDMINE_VERSION=3.0.1 DATABASE_ADAPTER=mysql
gemfile: Gemfile
- rvm: 2.2.0
env: REDMINE_VERSION=3.0.1 DATABASE_ADAPTER=postgresql
gemfile: Gemfile
env:
global:
- REDMINE_LANG=en
- MYSQL_DATABASE=redmine
- MYSQL_HOST=127.0.0.1
- MYSQL_PORT=3306
- MYSQL_USER=root
- MYSQL_PASSWORD=
- POSTGRES_DATABASE=redmine
- POSTGRES_USER=postgres
matrix:
- REDMINE_VERSION=3.0-stable USE_SVN=true DATABASE_ADAPTER=mysql
- REDMINE_VERSION=3.0-stable USE_SVN=true DATABASE_ADAPTER=postgresql
- REDMINE_VERSION=2.6-stable USE_SVN=true DATABASE_ADAPTER=mysql
- REDMINE_VERSION=2.6-stable USE_SVN=true DATABASE_ADAPTER=postgresql
- REDMINE_VERSION=3.0.1 DATABASE_ADAPTER=mysql
- REDMINE_VERSION=3.0.1 DATABASE_ADAPTER=postgresql
- REDMINE_VERSION=2.6.3 DATABASE_ADAPTER=mysql
- REDMINE_VERSION=2.6.3 DATABASE_ADAPTER=postgresql
# - REDMINE_VERSION=3.0.0 DATABASE_ADAPTER=mysql
# - REDMINE_VERSION=3.0.0 DATABASE_ADAPTER=postgresql
# - REDMINE_VERSION=2.6.2 DATABASE_ADAPTER=mysql
# - REDMINE_VERSION=2.6.2 DATABASE_ADAPTER=postgresql
# - REDMINE_VERSION=2.6.1 DATABASE_ADAPTER=mysql
# - REDMINE_VERSION=2.6.1 DATABASE_ADAPTER=postgresql
# - REDMINE_VERSION=2.6.0 DATABASE_ADAPTER=mysql
# - REDMINE_VERSION=2.6.0 DATABASE_ADAPTER=postgresql
# - REDMINE_VERSION=2.5.3 DATABASE_ADAPTER=mysql
# - REDMINE_VERSION=2.5.3 DATABASE_ADAPTER=postgresql
# - REDMINE_VERSION=2.5.2 DATABASE_ADAPTER=mysql
# - REDMINE_VERSION=2.5.2 DATABASE_ADAPTER=postgresql
# - REDMINE_VERSION=2.5.1
# - REDMINE_VERSION=2.5.0
# - REDMINE_VERSION=2.4.7 DATABASE_ADAPTER=mysql
# - REDMINE_VERSION=2.4.7 DATABASE_ADAPTER=postgresql
# - REDMINE_VERSION=2.4.6 DATABASE_ADAPTER=mysql
# - REDMINE_VERSION=2.4.6 DATABASE_ADAPTER=postgresql
# - REDMINE_VERSION=2.4.5
# - REDMINE_VERSION=2.4.4
# - REDMINE_VERSION=2.4.3
# - REDMINE_VERSION=2.4.2
# - REDMINE_VERSION=2.4.1
# - REDMINE_VERSION=2.4.0
# - REDMINE_VERSION=2.3.4
# - REDMINE_VERSION=2.2.4
before_install:
- cd ../..
- ./jbox-web/redmine_jenkins/contrib/travis/install_redmine.sh
- cd redmine
- echo $(pwd)
- export BUNDLE_GEMFILE=$PWD/Gemfile
before_script:
- echo $(pwd)
- mysql -e 'create database redmine;'
- psql -c 'create database redmine;' -U postgres
- bundle exec rake generate_secret_token
- bundle exec rake db:migrate
- bundle exec rake redmine:load_default_data
- bundle exec rake redmine:plugins:migrate
- bundle exec rake db:test:prepare
script:
- bundle exec rake redmine_jenkins:ci:all