]> granicus.if.org Git - fortune-mod/blob - .appveyor.yml
0ad1272a609a4890580237a347a190f3fe7976b1
[fortune-mod] / .appveyor.yml
1 ---
2 # Shamelessly taken from https://github.com/plicease/Dist-Zilla-PluginBundle-Author-Plicease/blob/master/.appveyor.yml
3 # Thanks!
4 clone_folder: c:\projects\fortune-mod
5 environment:
6     global:
7         MSYSTEM: MINGW64
8         VERBOSE: 1
9 install:
10     - choco install strawberryperl
11     - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
12     - perl -v
13     - if not exist C:\Perl5 mkdir C:\Perl5
14     - SET PATH=C:\msys64\bin;C:\Perl5\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
15     - SET PERL5LIB=C:/Perl5/lib/perl5
16     - SET PERL_LOCAL_LIB_ROOT=C:/Perl5
17     - SET PERL_MB_OPT=--install_base C:/Perl5
18     - SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5
19     - 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
20     - git clone https://github.com/rrthomas/Recode ./recode
21     - C:\msys64\usr\bin\bash.exe -l -x c:/projects/fortune-mod/recode/build-aux/appveyor-install.sh
22     - C:\msys64\usr\bin\bash.exe -x -lc "cd c:/projects/fortune-mod/recode && ./bootstrap && ./configure --enable-silent-rules %CONFIGURE_FLAGS% && make && make install"
23 build: off
24 test_script:
25     - set CMAKE_MAKE_PROGRAM=C:\strawberry\c\bin\gmake.exe
26     # Removing for now because it is too much trouble on windows.
27     # - set FCS_TEST_BUILD=1
28     - set CPATH=c:\mingw64\include;c:\msys64\mingw64\include
29     - set LIBRARY_PATH=c:\mingw64\lib;c:\msys64\mingw64\lib
30     - perl CI-testing/continuous-integration-testing.pl --gen="MSYS Makefiles"
31 # cache:
32 #   - C:\Perl5
33 shallow_clone: true