mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
41 lines
1.4 KiB
YAML
41 lines
1.4 KiB
YAML
---
|
|
environment:
|
|
matrix:
|
|
- PYTHON: "C:\\PYTHON34"
|
|
# Shamelessly taken from https://github.com/plicease/Dist-Zilla-PluginBundle-Author-Plicease/blob/master/.appveyor.yml
|
|
# Thanks!
|
|
install:
|
|
- choco install strawberryperl
|
|
- copy %PYTHON%\python.exe %PYTHON%\python3.exe
|
|
- SET PATH=%PYTHON%;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
|
|
- python3 -mpip install flake8
|
|
- python3 -mpip install random2
|
|
- python3 -mpip install py2exe
|
|
- python3 -mpip install six
|
|
- perl -v
|
|
- 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%
|
|
- SET PERL5LIB=C:/_P5/lib/perl5
|
|
- SET PERL_LOCAL_LIB_ROOT=C:/_P5
|
|
- SET PERL_MB_OPT=--install_base C:/_P5
|
|
- SET PERL_MM_OPT=INSTALL_BASE=C:/_P5
|
|
- perl -v
|
|
- cpanm --notest File::Find::Object Perl::Tidy Task::FreecellSolver::Testing Test::Code::TidyAll Test::TrailingSpace
|
|
- echo %PATH%
|
|
build: off
|
|
test_script:
|
|
- set CMAKE_MAKE_PROGRAM=C:\strawberry\c\bin\gmake.exe
|
|
- set HARNESS_BREAK=1
|
|
- set HARNESS_VERBOSE=1
|
|
- set FCS_USE_TEST_RUN=1
|
|
- gmake pretest
|
|
- perl run-tests.pl
|
|
- python3 setup.py py2exe
|
|
- 7z a -r pysol_win_dist.7z dist\
|
|
artifacts:
|
|
- path: pysol_win_dist.7z
|
|
name: pysol_win_dist
|
|
cache:
|
|
- C:\_P5 -> .appveyor.yml
|
|
- C:\strawberry -> .appveyor.yml
|
|
shallow_clone: true
|