summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: eed86e0a300ed6fa24ad1cf1c3d681fd04faa5c9 (plain)
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
language: perl
perl:
  - 5.10
  - 5.12
  - 5.14
  - 5.16

env:
  - TEST_SUITE=sanity
  - TEST_SUITE=docs
  - TEST_SUITE=webservices DB=mysql
  - TEST_SUITE=selenium DB=mysql
  - TEST_SUITE=webservices DB=pg
  - TEST_SUITE=selenium DB=pg

matrix:
  exclude:
    - perl: 5.10
      env: TEST_SUITE=docs
    - perl: 5.12
      env: TEST_SUITE=docs
    - perl: 5.14
      env: TEST_SUITE=docs
    - perl: 5.10
      env: TEST_SUITE=webservices DB=mysql
    - perl: 5.10
      env: TEST_SUITE=webservices DB=pg
    - perl: 5.10
      env: TEST_SUITE=selenium DB=mysql
    - perl: 5.10
      env: TEST_SUITE=selenium DB=pg
    - perl: 5.12
      env: TEST_SUITE=webservices DB=mysql
    - perl: 5.12
      env: TEST_SUITE=webservices DB=pg
    - perl: 5.12
      env: TEST_SUITE=selenium DB=mysql
    - perl: 5.12
      env: TEST_SUITE=selenium DB=pg
    - perl: 5.14
      env: TEST_SUITE=webservices DB=mysql
    - perl: 5.14
      env: TEST_SUITE=webservices DB=pg
    - perl: 5.14
      env: TEST_SUITE=selenium DB=mysql
    - perl: 5.14
      env: TEST_SUITE=selenium DB=pg

before_install:
  - git clone https://github.com/bugzilla/qa.git -b master qa

install: true

script: ./qa/travis.sh

after_failure:
  - sudo cat /var/log/apache2/error.log

notifications:
  irc:
    channels:
      - "irc.mozilla.org#qa-bugzilla"
      - "irc.mozilla.org#bugzilla"
    template:
      - "Bugzilla %{branch} : %{author} : %{message}"
      - "Commit Message : %{commit_message}"
      - "Commit Link : %{compare_url}"
      - "Build Link : %{build_url}"
  on_success: change
  on_failure: always