-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
33 lines (27 loc) · 851 Bytes
/
.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
language: perl
sudo: required
dist: trusty # includes pandoc 1.12.2.1
perl:
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
install:
- cpanm --installdeps . || cat /home/travis/.cpanm/*/build.log
- prove -l # make sure normal tests don't fail without pandoc
- sudo apt-get install pandoc
- pandoc --version
- cpanm --quiet --notest --skip-satisfied Test::PerlTidy Dist::Milla
script:
# test with milla and pandoc
- milla smoke --release
after_success:
- cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Coveralls
- export RELEASE_TESTING=1 AUTHOR_TESTING=1
- perl Build.PL && ./Build build && cover -test -report coveralls
# build and update examples once per successful build
- export ENCRYPTION_LABEL=e614c97adb02
- test "$TRAVIS_PERL_VERSION" = "5.24" && ./deploy-all.sh