aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 2cc09f6782848e4fc305a3bb16778e007d07f7fe (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
language: perl
perl:
    - "5.28"
    - "5.22"
    - "5.18"
    - "5.16"
env:
    - TEST_ONLINE=1 TEST_INSTALL=1 TEST_MULTILIB=0
    - TEST_ONLINE=1 TEST_INSTALL=1 TEST_MULTILIB=1
    - TEST_ONLINE=1 TEST_INSTALL=1 TEST_MULTILIB=2
    - TEST_ONLINE=0 TEST_INSTALL=1 TEST_MULTILIB=0
    - TEST_ONLINE=0 TEST_INSTALL=1 TEST_MULTILIB=1
    - TEST_ONLINE=0 TEST_INSTALL=1 TEST_MULTILIB=2
sudo: required
install:
    - sudo bash t/travis-deps/install.sh
    - cpanm Text::Diff Capture::Tiny Test::Output Devel::Cover Test::Exit
script:
    - bash -c '
      PROVE=`which prove`;
      sudo
      PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine,+ignore,t/,+ignore,prove,db,/home/travis/build/pink-mist/sbotools/cover_db
      $PROVE -v t/*.t;'
    - sudo chmod -R a+x cover_db;
      tar cf cover_db.tar cover_db
addons:
    artifacts:
        paths: "./cover_db.tar"
notifications:
    irc:
        channels:
            - "chat.freenode.net#sbotools"
        on_success: change
        on_failure: change