-
Notifications
You must be signed in to change notification settings - Fork 60
/
.travis.yml
39 lines (39 loc) · 1.14 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
addons:
apt:
packages:
- asciidoc
- cmake
- cpanminus
- dbtoepub
- docbook-xsl
- docbook-xsl-ns
- gcc
- libperl-dev
- librecode-dev
- make
- perl
- valgrind
- xsltproc
- xz-utils
- zip
before_install:
- cpanm local::lib
- eval "$(perl -Mlocal::lib=$HOME/perl_modules)"
- cpanm App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount File::Find::Object List::Util Path::Tiny Perl::Critic Perl::Tidy Test::Code::TidyAll Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap
cache:
directories:
- $HOME/perl_modules
- $HOME/tidyall_d
dist: focal
install:
# Required to avoid default travis "cpanm ." booboo.
- "true"
language: perl
os: linux
perl:
- "5.30"
script:
- "perl -ln -i -E 'print unless /^\\[ClangFormat\\]$/../^$/' fortune-mod/.tidyallrc"
- "export FORTUNE_TEST_TIDY=1"
- "perl CI-testing/continuous-integration-testing.pl"
- "rm -fr B"