]> granicus.if.org Git - fortune-mod/commitdiff
Instruct the CI config file to inst missing deps.
authorShlomi Fish <shlomif@shlomifish.org>
Sat, 8 Jun 2019 15:03:16 +0000 (18:03 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Sat, 8 Jun 2019 15:03:16 +0000 (18:03 +0300)
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 .

.appveyor.yml

index d67b26ce4f89cfc1c4a4f0519e17ad0162cae7bf..905714bfe5a6a9e8e6bc3cd126c7b950a9398b9d 100644 (file)
@@ -1,6 +1,11 @@
 ---
 # Shamelessly taken from https://github.com/plicease/Dist-Zilla-PluginBundle-Author-Plicease/blob/master/.appveyor.yml
 # Thanks!
+clone_folder: c:\projects\fortune-mod
+environment:
+    global:
+        MSYSTEM: MINGW64
+        VERBOSE: 1
 install:
     - choco install strawberryperl
     - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
@@ -12,9 +17,9 @@ install:
     - SET PERL_MB_OPT=--install_base C:/Perl5
     - SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5
     - cpanm --notest Dir::Manifest Dist::Zilla Env::Path Games::Solitaire::Verify::Solution IO::All Inline Inline::C Perl::Tidy Pod::Coverage::TrustPod Pod::Weaver::Section::Support String::ShellQuote Test::Code::TidyAll Test::CPAN::Changes Test::Differences Test::EOL Test::Kwalitee Test::NoTabs Test::Pod Test::Pod::Coverage Test::RunValgrind Test::TrailingSpace Test::Trap
-    - git clone https://github.com/rrthomas/Recode
-    - C:\msys64\usr\bin\bash.exe -l c:/projects/fortune-mod/recode/build-aux/appveyor-install.sh
-    - C:\msys64\usr\bin\bash.exe -lc "cd c:/projects/fortune-mod/recode && ./bootstrap && ./configure --enable-silent-rules %CONFIGURE_FLAGS% && make && make install"
+    - git clone https://github.com/rrthomas/Recode ./recode
+    - C:\msys64\usr\bin\bash.exe -l -x c:/projects/fortune-mod/recode/build-aux/appveyor-install.sh
+    - C:\msys64\usr\bin\bash.exe -x -lc "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