Skip to content

Commit

Permalink
Added Appveyor integration
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jan 6, 2019
1 parent fac34d7 commit edec90c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .appveyor.yml
@@ -0,0 +1,41 @@
version: 1.0.{build}

image:
- Visual Studio 2015
- Ubuntu
- ubuntu1804

environment:
PERL5LIB: /home/appveyor/perl5/lib/perl5
AUTOMATED_TESTING: 1

platform: x64

branches:
only:
- master

skip_tags: true

install:
- cmd: if not exist "C:\strawberry" cinst StrawberryPerl --allow-empty-checksums
- cmd: path C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
# - cmd: cd C:\projects\%APPVEYOR_PROJECT_NAME%
- sh: sudo apt-get update -q
- sh: sudo apt-get install -y build-essential git libssl-dev
- sh: sudo apt-get install -y perl
- sh: export PATH=/home/appveyor/perl5/bin:$PATH
- perl -V
- cmd: mkdir %APPVEYOR_BUILD_FOLDER%\tmp
- cmd: set TMPDIR=%APPVEYOR_BUILD_FOLDER%\tmp
- cpan App::cpanminus
- cmd: cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -n
- cpanm -v --installdeps .
- cmd: 'echo End install at: & time /t'

build_script:
- perl Makefile.PL

test_script:
- cmd: gmake test
- sh: make test

0 comments on commit edec90c

Please sign in to comment.