Instruct the CI config file to inst missing deps.

Install missing dependencies that are required by the build or tests.

See:

* https://en.wikipedia.org/wiki/Travis_CI

* https://en.wikipedia.org/wiki/Continuous_integration .
This commit is contained in:
Shlomi Fish 2021-12-12 13:23:28 +02:00
parent f41f7b02f4
commit 405f21ae0c
5 changed files with 4 additions and 8 deletions

View File

@ -18,7 +18,7 @@ jobs:
} ; local_lib_shim ; 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::Trap
Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";
} ; local_lib_shim ; true
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";

View File

@ -23,7 +23,7 @@ install:
- SET PERL_LOCAL_LIB_ROOT=C:/Perl5
- SET PERL_MB_OPT=--install_base C:/Perl5
- SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5
- cpanm --notest App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount Env::Path File::Find::Object List::Util Path::Tiny Perl::Critic Perl::Tidy String::ShellQuote Test::Code::TidyAll Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap
- cpanm --notest 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
- if not exist C:\libtap mkdir C:\libtap
- copy C:\msys64\mingw64\bin\mingw32-make.exe C:\msys64\mingw64\bin\make.exe
# - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%

View File

@ -18,7 +18,7 @@ jobs:
} ; local_lib_shim ; 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::Trap
Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";
} ; local_lib_shim ; true
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";

View File

@ -34,8 +34,6 @@ jobs:
Code::TidyAll::Plugin::TestCount
Env::Path
File::Find::Object
List::Util
@ -46,8 +44,6 @@ jobs:
Perl::Tidy
String::ShellQuote
Test::Code::TidyAll
Test::Differences

View File

@ -19,7 +19,7 @@ addons:
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::Trap
- 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