forked from jkraemer/redmine_pushover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 929 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
41
42
43
44
language: ruby
rvm:
- 2.2.6
- 2.3.3
- 2.4.0
- jruby-9.1.7.0
matrix:
allow_failures:
# currently gives StackOverflows in the mailer patch. JRuby bug?
# possibly https://github.com/jruby/jruby/issues/3193
- rvm: jruby-9.1.7.0
exclude:
- rvm: 2.4.0
env: REDMINE_VER=2.6-stable
- rvm: 2.4.0
env: REDMINE_VER=3.3-stable
branches:
only:
- master
addons:
postgresql: "9.4"
env:
- REDMINE_VER=2.6-stable
- REDMINE_VER=3.3-stable
- REDMINE_VER=master
install: "echo skip bundle install"
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- psql -c 'create extension unaccent;' -U postgres travis_ci_test
script:
- export TESTSPACE=`pwd`/testspace
- export NAME_OF_PLUGIN=redmine_pushover
- export PATH_TO_PLUGIN=`pwd`
- export PATH_TO_REDMINE=$TESTSPACE/redmine
- mkdir $TESTSPACE
- cp test/support/* $TESTSPACE/
- bash -x ./travis.sh