Skip to content

Commit

Permalink
Try to get CI working (travis & appveyor)
Browse files Browse the repository at this point in the history
  • Loading branch information
softmoth committed Sep 24, 2017
1 parent 9d380e1 commit 80e0fb6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -6,6 +6,6 @@ perl6:
- latest
sudo: false
install:
- rakudobrew build-panda ${TRAVIS_PERL6_VERSION#latest}
- panda installdeps .
- git clone https://github.com/softmoth/mustache-spec.git ../mustache-spec
- rakudobrew build-zef ${TRAVIS_PERL6_VERSION#latest}
- zef --depsonly install .
- git clone --depth 1 https://github.com/softmoth/mustache-spec.git ../mustache-spec
32 changes: 23 additions & 9 deletions appveyor.yml
Expand Up @@ -2,30 +2,44 @@ os: Visual Studio 2015

platform: x64

build: off

shallow_clone: true

# Update *_clear_cache.txt to force re-install
cache:
- C:\Strawberry -> .appveyor_clear_cache.txt
- C:\Rakudo -> .appveyor_clear_cache.txt

install:
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'

- IF NOT EXIST "C:\Strawberry" choco install strawberryperl
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- git clone https://github.com/tadzik/rakudobrew %USERPROFILE%\rakudobrew
- SET PATH=%USERPROFILE%\rakudobrew\bin;%PATH%
- rakudobrew build moar nom
- rakudobrew build zef
- ps: refreshenv
- perl -v

# Install Rakudo Star with chocolately
# https://chocolatey.org/packages/rakudostar
- IF NOT EXIST "C:\Rakudo" choco install rakudostar
- SET PATH=C:\Rakudo\bin;C:\Rakudo\share\perl6\site\bin;%PATH%
- ps: refreshenv
- perl6 -v

# Install via rakudobrew
#- git clone https://github.com/tadzik/rakudobrew %USERPROFILE%\rakudobrew
#- SET PATH=%USERPROFILE%\rakudobrew\bin;%PATH%
#- rakudobrew build moar nom
#- rakudobrew build zef

- cd %APPVEYOR_BUILD_FOLDER%
- zef --verbose --depsonly install .
- zef build .

build: off

test_script:
- zef --force-test test .
- prove -v -e "perl6 -Ilib" t
- zef install .

branches:
only:
- master

shallow_clone: true

0 comments on commit 80e0fb6

Please sign in to comment.