diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0c263ca --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +# Required to run your project under the correct environment. +language: php + +# Versions of PHP you want your project run with. +php: + - 5.4 + - 5.5 + - 5.6 + - hhvm + +# Commands to be run before your environment runs. +before_script: + - composer self-update + - composer install --prefer-source --no-interaction --dev + +# Commands you want to run that will verify your build. +script: phpunit + +# allow_failures: Allow this build to fail under the specified environments. +# fast_finish: If your build fails do not continue trying to build, just stop. +matrix: + allow_failures: + - php: 5.6 + - php: hhvm + fast_finish: true + +# Customize when the notification emails are sent. +notifications: + on_success: never + on_failure: always