.travis.yml 984 Bytes
Newer Older
1 2 3 4
language: "perl"

perl:
  - "5.14"
5
  - "5.26"
6

7 8 9 10
services:
  - mysql
  - postgresql

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
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:
28
    rooms:
29
      # coregithub
30
      - secure: gL6s4PRts/S293qOTVDFub8i7DWxqXVpDz5il8Vx7LxSYgOiA9AJcbT1zuXxhfONA5RwXJ62gRze0LllDcAS9TiUl199SSq7x+hBMBKzGxWV5I0P6m5aPMRi2vdC4yiATMQYF97PaH3zWobEDiGEHRAS+mkGNBExXY1hwZSasy8=
31
      # ehive-commits
32 33
      - secure: XUShBwss607RlWDQyn4tkVDX390+aIXv1ntaUzr9MtsXMpCNm5X/7PPle7Cq6FZ57vHzkIOM0+FM3kIou7vbc3ediwHEv9/o8PwDah7xH46/ukjCsI+labR6jxoX8YX9SRvUUm4FV9Vo2gkWi0IYM+k+VI6AyDFyhEzyJOIGHEY=
    on_failure: change
34

35
# Get the matrix to only build coveralls support when on 5.14
36 37 38 39
matrix:
  exclude:
    - perl: "5.14"
      env: COVERALLS=true
40 41
    - perl: "5.26"
      env: COVERALLS=false