diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..3fcf6a8 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,13 @@ +cache: + - C:\Strawberry -> .appveyor_clear_cache.txt + +install: + - if not exist "C:\Strawberry" cinst strawberryperl + - set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH% + - cd %APPVEYOR_BUILD_FOLDER% + - cpanm --notest Dist::Zilla || type C:\Users\appveyor\.cpanm\build.log ; perl -e "exit 1" + - dzil authordeps --missing | cpanm --notest || type C:\Users\appveyor\.cpanm\build.log ; perl -e "exit 1" + - dzil listdeps --author --missing | cpanm --notest || type C:\Users\appveyor\.cpanm\build.log ; perl -e "exit 1" + +build_script: + - dzil test --author --release