language: perl6

os:
  - linux
  - osx

perl6:
  - 2016.05
  - latest

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install libgtk-3-dev

install:
  - echo $TRAVIS_OS_NAME
  - rakudobrew build panda
  - panda installdeps .

script: prove -v -e "perl6 -Ilib" t/

language: perl6

os:
  - linux
  - osx

perl6:
  - 2016.05
  - latest

before_install:
  - echo $TRAVIS_OS_NAME
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq update           ; fi
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libgtk-3-dev ; fi
  - if [ "$TRAVIS_OS_NAME" == "osx"   ]; then brew update                       ; fi
  - if [ "$TRAVIS_OS_NAME" == "osx"   ]; then brew install gtk+3                ; fi
  - if [ "$TRAVIS_OS_NAME" == "osx"   ]; then ls /usr/local/lib/                ; fi
  - if [ "$TRAVIS_OS_NAME" == "osx"   ]; then ls /usr/lib/                      ; fi

install:
  - rakudobrew build panda
  - panda installdeps .

script: prove -v -e "perl6 -Ilib" t/

Install gtk3 on MacOS X Travis CI
Install gtk3 on MacOS X Travis CI
