### ----------------------------------------------------
### -- JSON::Stream
### -- Licenses: Artistic-2.0
### -- Authors: Fernando Correa de Oliveira
### -- File: .travis.yml
### ----------------------------------------------------
env:
  global:
    - PATH=/opt/rakudo-pkg/bin:$PATH
  matrix:
    - VERSION=2018.03-01
    - VERSION=2018.02.1-01 TAG=v2018.02.1

os:
  - linux

before_install:
  - sudo apt-get -qq update
  - 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/

# vim: et ts=2 sw=2


