-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (40 loc) · 974 Bytes
/
.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
---
language: ruby
timeouts:
bundle: 600
rvm:
- 1.9.3
- 2.0.0
- 2.2.0
env:
global:
- REDMINE_DIR=./workspace/redmine
- PLUGIN_NAME=redmine_exception_handler
matrix:
- REDMINE=3.0-stable
- REDMINE=v3.8.0
- REDMINE=master
matrix:
exclude:
- rvm: 2.0.0
env: REDMINE=v3.8.0
gemfile: workspace/redmine/Gemfile
- rvm: 2.2.0
env: REDMINE=v3.8.0
gemfile: workspace/redmine/Gemfile
allow_failures:
- env: REDMINE=v3.8.0
gemfile: workspace/redmine/Gemfile
before_install:
- ./script/ci.sh clone_redmine --target $REDMINE_DIR
- cp ./config/database.yml.travis $REDMINE_DIR/config/database.yml
- ./script/ci.sh install_plugin_gemfile
install: ./script/ci.sh bundle_install
before_script:
- mysql -e 'CREATE DATABASE redmine CHARACTER SET utf8;'
- ./script/ci.sh prepare_redmine
- ./script/ci.sh prepare_plugin
- 'phantomjs --webdriver 4444 2>&- 1>&- &'
script:
- ./script/ci.sh run_tests
- ./script/ci.sh test_uninstall