aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2018-03-20 14:43:48 +0100
committerPatrick Spek <p.spek@tyil.nl>2018-03-20 14:43:48 +0100
commit96ba1db6c14e17763aee4ad1131e1ac456e59c8f (patch)
tree9c4d0c991350575c7359f1c243a305d18406096f
parentd3540a08545fbf32b3a0d377d80a6f6eb351ac2d (diff)
Update Travis configuration to use prebuilt packages
-rw-r--r--.travis.yml27
1 files changed, 16 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 2df3b13..6e46449 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,21 @@
-language: perl6
+language: generic
-perl6:
- - nom
- - latest
- - "2017.10"
- - "2017.07"
+env:
+ global:
+ - PATH=/opt/rakudo-pkg/bin:$PATH
+ matrix:
+ - VERSION=2018.03-01
+ - VERSION=2018.02.1-01 TAG=v2018.02.1
-os:
- - linux
+ os:
+ - linux
-install:
- - rakudobrew build zef
- - zef install --depsonly .
+ before_install:
+ - cd $(mktemp -d)
+ - wget "https://github.com/nxadm/rakudo-pkg/releases/download/${TAG:-v${VERSION}}/rakudo-pkg-Ubuntu14.04_${VERSION}_amd64.deb" && sudo dpkg -i *.deb
+ - cd -
+
+ install:
+ - zef install --deps-only .
script: AUTHOR_TESTING=1 prove -v -e "perl6 -Ilib" t/