.travis.yml
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
language: php
# list any PHP version you want to test against
php:
# using major version aliases
# aliased to a recent 5.5.x version
- 5.5
- hhvm
# Update: We no force hhvm compatibility
#matrix:
# allow_failures:
# - php: hhvm
# - php: hhvm-nightly
install: composer install --dev
# omitting "script:" will default to phpunit
# We create a folder where we will store the clove coverage report
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
# configure notifications (email, IRC, campfire etc)
#notifications:
# irc: "irc.freenode.org#yourfavouriteroomfortravis"
after_script:
- php vendor/bin/coveralls
# Setup environment to pass AWS S3 credentials
env:
global:
- AWS_S3_REGION="eu-west-1"
- AWS_S3_BUCKET="github-ci-test"
- AWS_S3_BUCKET_SUBFOLDER="files"
# Encrypted AWS_S3_KEY, AWS_S3_SECRET
- secure: fyTrGJ0tuP9i+WxWSz6M7VjpzKot5Lvp1t/KDoCtjE1h5U5FBaQ/W7mITj3lja79ZLOeL6rgCNdPR+5aUPjcVGvGWTs4VsbL6AUMql5XmK3hHb25/S0LgItnsFoPpp2XuptPyjo2k1RXGJfU8ImZCCY80WscKimuIMqMukcmQWE=
- secure: GUza74BlQMzxu5UKtSXx7J0t2HOMHYVh61PC5PqPZF6IzUuI5sfEkt5WhYM3vyAZ/wMzzO0sIGZKUhWIZVG9QxTMgwdGtUGJyoz66f96ebQcRtGdPHfBGwWfUzsYtPiXBgao2KTLm0iKEGw9gST67zXBg17z11wadyiVv6NoKwc=