From: Shlomi Fish Date: Wed, 29 Apr 2020 09:05:03 +0000 (+0300) Subject: travis+appveyor cleanups X-Git-Tag: fortune-mod-2.22.0~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59962ccdb516bec526a52ffb9373b4f18960259a;p=fortune-mod travis+appveyor cleanups --- diff --git a/.appveyor.yml b/.appveyor.yml index 1ab2353..bedd249 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -17,9 +17,6 @@ install: - SET PERL_MB_OPT=--install_base C:/Perl5 - SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5 - cpanm --notest Env::Path IO::All Perl::Tidy Pod::Coverage::TrustPod String::ShellQuote Test::Code::TidyAll Test::Differences Test::EOL Test::Pod Test::Pod::Coverage Test::RunValgrind Test::TrailingSpace Test::Trap - # - git clone https://github.com/rrthomas/Recode ./recode - # - C:\msys64\usr\bin\bash.exe -l -x -c "test -e /mingw64/include/recode.h || bash -x c:/projects/fortune-mod/recode/build-aux/appveyor-install.sh" - # - C:\msys64\usr\bin\bash.exe -x -lc "test -e /mingw64/include/recode.h || cd c:/projects/fortune-mod/recode && ./bootstrap && ./configure --enable-silent-rules %CONFIGURE_FLAGS% && make && make install" build: off test_script: - set CMAKE_MAKE_PROGRAM=C:\strawberry\c\bin\gmake.exe @@ -32,9 +29,6 @@ test_script: - SET PATH=%PATH%;C:\Python35-x64 - SET FORTUNE_TEST_DEBUG=1 - perl CI-testing/continuous-integration-testing.pl --gen="MSYS Makefiles" - - perl -E "exit(system(qq#perl CI-testing/continuous-integration-testing.pl --gen=@{[chr(34)]}MSYS Makefiles@{[chr(34)]}#) ? -1 : 0)" - # - curl -fsS -o Dependencies_x64_Release.zip "https://github.com/lucasg/Dependencies/releases/download/v1.10/Dependencies_x64_Release.zip" - # - c:\foo\games\fortune cache: - C:\msys64\mingw64 shallow_clone: true diff --git a/.travis.yml b/.travis.yml index cc297ad..806f0f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,20 +11,20 @@ addons: - valgrind - xz-utils - zip +before_install: + - cpanm local::lib + - eval "$(perl -Mlocal::lib=$HOME/perl_modules)" + - cpanm 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 cache: directories: - $HOME/perl_modules - $HOME/tidyall_d -os: linux dist: bionic -before_install: - - cpanm local::lib - - eval "$(perl -Mlocal::lib=$HOME/perl_modules)" - - cpanm 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 install: # Required to avoid default travis "cpanm ." booboo. - true language: perl +os: linux perl: - "5.30" script: