### ----------------------------------------------------
### -- HTTP::Server::Logger
### -- Licenses: 
### -- Authors: 
### -- File: .travis.yml
### ----------------------------------------------------
language: perl
perl:
    - '5.20'
env:
    - BACKEND=moar
    - BACKEND=jvm
matrix:
    allow_failures:
        - env: BACKEND=jvm
before_install:
    - git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"
    # helpers $(test-jobs) and $(test-files)
    - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
    - source ~/travis-perl-helpers/init
    - git clone https://github.com/tadzik/rakudobrew ~/.rakudobrew
    - export PATH=~/.rakudobrew/bin:$PATH
    - rakudobrew build $BACKEND
    - perl6 -v
install:
    # must do *something* in the install phase
    - rakudobrew build-zef
script:
    # Pull in the dependencies before running tests
    - zef install --deps-only .
    # tests that module passes tests *before* compile
    #- prove -v -s -j$(test-jobs) -e "perl6 --ll-exception -Ilib" $(test-files)
    - perl6 -Ilib t/01-pretty.t
    - perl6 -Ilib t/00-use.t
    - zef test .
    # runs tests again, but catches some heisenbugs (mostly with precompiled modules)


