I am using this docker container to build exercism.io exercises with Travis. My .travis.yml
is below:
language:
- minimal
services:
- docker
install:
- docker pull jjmerelo/test-perl6
script: docker run -t --entrypoint="/bin/sh" -v $TRAVIS_BUILD_DIR:/test jjmerelo/test-perl6 -c "zef install JSON::Fast && prove -r --exec=perl6 perl6"
When running, Travis fails to update the p6c mirror and is unable to find JSON::Fast, thus causing my tests to fail. A snippet of the error is shown below, with the full build logged here.
===> Searching for: JSON::Fast
===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updating p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
!!!> Failed to update p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Updating p6c mirror: http://ecosystem-api.p6c.org/projects.json
!!!> Failed to update p6c mirror: http://ecosystem-api.p6c.org/projects.json
===> Updating p6c mirror: git://github.com/ugexe/Perl6-ecosystems.git
===> Updated p6c mirror: git://github.com/ugexe/Perl6-ecosystems.git
No candidates found matching identity: JSON::Fast
Is there something I'm missing in my .travis.yml
in order to get this working?