Permalink
Browse files

Modernize project a bit

  • Loading branch information...
1 parent 6933d56 commit bb8399303659cc9d17429b22fb17c20f9ace4fd7 @azawawi committed Feb 19, 2017
Showing with 51 additions and 19 deletions.
  1. +18 −4 .travis.yml
  2. 0 META.info → META6.json
  3. +2 −3 README.md
  4. +16 −12 appveyor.yml
  5. +15 −0 t/99-author-meta.t
View
@@ -1,8 +1,22 @@
language: perl6
+
+os:
+ - linux
+ - osx
+
perl6:
- - latest
- - 2015.12
+ - 2016.11
+ - latest
+
+before_install:
+ - echo $TRAVIS_OS_NAME
install:
- - rakudobrew build-panda
- - panda install File::Temp HTTP::Easy JSON::Tiny Pod::To::HTML p6doc Debugger::UI::CommandLine Browser::Open
+ - rakudobrew build zef
+ - zef --depsonly install .
+ - zef install Test::META
+ - zef build .
+
+script:
+ - AUTHOR_TESTING=1 prove -ve "perl6 -Ilib"
+ - zef install .
View
File renamed without changes.
View
@@ -18,11 +18,10 @@ $ bin/farabi6
```
-To install it using Panda (a module management tool bundled with Rakudo Star):
+To install it using zef (a module management tool bundled with Rakudo Star):
```
-$ panda update
-$ panda install Farabi6
+$ zef install Farabi6
$ farabi6
# farabi6 will try to open http://localhost:3030 in your browser
```
View
@@ -2,24 +2,28 @@ os: Visual Studio 2015
platform: x64
+environment:
+ matrix:
+ - test_moar: 2016.01
+ - test_moar: '' #latest
+
install:
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
- - choco install strawberryperl
+ - choco install strawberryperl --allow-empty-checksums
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- - git clone https://github.com/rakudo/rakudo.git %APPVEYOR_BUILD_FOLDER%\..\rakudo
- - cd %APPVEYOR_BUILD_FOLDER%\..\rakudo
- - perl Configure.pl --gen-moar=HEAD --gen-nqp
- - nmake install
- - SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\bin;%PATH%
+ - git clone https://github.com/tadzik/rakudobrew %USERPROFILE%\rakudobrew
+ - SET PATH=%USERPROFILE%\rakudobrew\bin;%PATH%
+ - rakudobrew build moar %TEST_MOAR%
+ - rakudobrew build zef
- cd %APPVEYOR_BUILD_FOLDER%
+ - zef --depsonly install .
+ - zef install Test::META
+ - zef build .
build: off
test_script:
- - prove -v -e "perl6 -Ilib" t/
- - perl6 -Ilib bin/zef --verbose install .
- - SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\share\perl6\site\bin;%PATH%
- - cd %APPVEYOR_BUILD_FOLDER%\..
- - zef --verbose --force install Zef
+ - set AUTHOR_TESTING=1 && prove -ve "perl6 -Ilib"
+ - zef install .
-shallow_clone: true
+shallow_clone: true
View
@@ -0,0 +1,15 @@
+
+use v6;
+
+use Test;
+
+plan 1;
+
+if ?%*ENV<AUTHOR_TESTING> {
+ require Test::META <&meta-ok>;
+ meta-ok;
+ done-testing;
+} else {
+ skip-rest "Skipping author test";
+ exit;
+}

0 comments on commit bb83993

Please sign in to comment.