.travis.yml 998 Bytes
Newer Older
1 2
dist: trusty

3 4 5 6
language: "perl"

perl:
  - "5.14"
Matthieu Muffato's avatar
Matthieu Muffato committed
7
  - "5.30"
8

9 10 11 12
services:
  - mysql
  - postgresql

13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
env:
  - COVERALLS=true
  - COVERALLS=false

sudo: false

install:
    - cpanm -v --installdeps --notest .
    - cpanm -n Devel::Cover::Report::Coveralls

script: "./scripts/travis_run_tests.sh"

notifications:
  email:
    on_success: always
    on_failure: always
  slack:
30
    rooms:
31
      # coregithub
32
      - secure: gL6s4PRts/S293qOTVDFub8i7DWxqXVpDz5il8Vx7LxSYgOiA9AJcbT1zuXxhfONA5RwXJ62gRze0LllDcAS9TiUl199SSq7x+hBMBKzGxWV5I0P6m5aPMRi2vdC4yiATMQYF97PaH3zWobEDiGEHRAS+mkGNBExXY1hwZSasy8=
33
      # ehive-commits
34 35
      - secure: XUShBwss607RlWDQyn4tkVDX390+aIXv1ntaUzr9MtsXMpCNm5X/7PPle7Cq6FZ57vHzkIOM0+FM3kIou7vbc3ediwHEv9/o8PwDah7xH46/ukjCsI+labR6jxoX8YX9SRvUUm4FV9Vo2gkWi0IYM+k+VI6AyDFyhEzyJOIGHEY=
    on_failure: change
36

37
# Get the matrix to only build coveralls support when on 5.14
38 39 40 41
matrix:
  exclude:
    - perl: "5.14"
      env: COVERALLS=true
Matthieu Muffato's avatar
Matthieu Muffato committed
42
    - perl: "5.30"
43
      env: COVERALLS=false