forked from mantisbt/mantisbt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (54 loc) · 1.4 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
# -----------------------------------------------------------------------------
# MantisBT Travis-CI build configuration file
# -----------------------------------------------------------------------------
language: php
# -----------------------------------------------------------------------------
# Environment setup and test scripts execution
#
before_script:
- ./scripts/travis_before_script.sh
script:
- ./scripts/travis_script.sh
# -----------------------------------------------------------------------------
# What to build, and on which platforms
#
php:
- 5.3
- 5.4
- 5.5
- 5.6
env:
- DB=mysql
- DB=pgsql
branches:
except:
- master-2.0.x
matrix:
include:
# Add a specific build for Documentation
# Note: we don't really care about the PHP version here, but we need
# one version to trigger the build
- env: DOCBOOK=1
php: 5.6
allow_failures:
addons:
apt:
packages:
- publican
# -----------------------------------------------------------------------------
# Notifications
#
notifications:
email:
on_success: change
on_failure: always
irc:
on_success: change
on_failure: always
channels:
- "chat.freenode.net#mantisbt"
skip_join: true
template:
- "Build #%{build_number}: %{repository} %{branch} (%{commit}) %{author} - %{message}"
- "Build details: %{build_url}"
- "Code Changes: %{compare_url}"