.travis.yml 1.17 KB
Newer Older
1 2
dist: trusty

3 4 5
language: "perl"

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

9 10 11 12
services:
  - mysql
  - postgresql

13
env:
14
  - COVERALLS=true
15
  - COVERALLS=false
16

17 18 19 20 21 22 23 24
sudo: false

addons:
  apt:
    packages:
    - unzip
    - python3

25
before_install:
26
    - git clone --branch v1.6.x --depth 1 https://github.com/bioperl/bioperl-live
27 28 29 30

install:
    - cpanm -v --installdeps --notest .
    - cpanm -n Devel::Cover::Report::Coveralls
Matthieu Muffato's avatar
Matthieu Muffato committed
31
    - cpanm -n Devel::Cover::Report::Codecov
32

33
script: "./scripts/travis_run_tests.sh"
34

35 36 37 38
notifications:
  email:
    on_success: always
    on_failure: always
39
  slack:
40
    rooms:
41
      # coregithub
42
      - secure: gL6s4PRts/S293qOTVDFub8i7DWxqXVpDz5il8Vx7LxSYgOiA9AJcbT1zuXxhfONA5RwXJ62gRze0LllDcAS9TiUl199SSq7x+hBMBKzGxWV5I0P6m5aPMRi2vdC4yiATMQYF97PaH3zWobEDiGEHRAS+mkGNBExXY1hwZSasy8=
43
      # ehive-commits
44 45
      - secure: XUShBwss607RlWDQyn4tkVDX390+aIXv1ntaUzr9MtsXMpCNm5X/7PPle7Cq6FZ57vHzkIOM0+FM3kIou7vbc3ediwHEv9/o8PwDah7xH46/ukjCsI+labR6jxoX8YX9SRvUUm4FV9Vo2gkWi0IYM+k+VI6AyDFyhEzyJOIGHEY=
    on_failure: change
46

47
# Get the matrix to only build coveralls support when on 5.14
48 49 50 51
matrix:
  exclude:
    - perl: "5.14"
      env: COVERALLS=true
Matthieu Muffato's avatar
Matthieu Muffato committed
52
    - perl: "5.30"
53
      env: COVERALLS=false