forked from sqitchers/sqitch
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
53 lines (45 loc) · 1.13 KB
/
.travis.yml
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
language: perl
perl:
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "dev"
- "blead"
matrix:
include:
- perl: "5.20"
env: COVERAGE=1
allow_failures:
- perl: "blead"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq firebird2.5-superclassic firebird2.5-dev aspell-en unixodbc-dev
- sudo sed /ENABLE_FIREBIRD_SERVER=/s/no/yes/ -i /etc/default/firebird2.5
- cat /etc/default/firebird2.5 | grep ENABLE_FIREBIRD_SERVER
- sudo service firebird2.5-superclassic start
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR
install:
- cpanm --verbose --no-interactive --no-man-pages --notest Params::Validate DBI File::Which Test::More Test::Exception Time::HiRes
- cpan-install --deps
- cpan-install --coverage
before_script:
- coverage-setup
script:
- prove -lr -j$(test-jobs) $(test-dirs)
after_success:
- coverage-report
notifications:
email: false
irc:
channels:
- "irc.freenode.net#sqitch"
on_success: change
on_failure: always