KnpMarkdownBundle/.travis.yml

37 lines
692 B
YAML
Raw Normal View History

2011-11-19 15:48:33 +01:00
language: php
2012-02-25 12:06:40 +01:00
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
2011-11-19 15:48:33 +01:00
php:
- 5.3
- 5.4
2014-05-23 22:17:53 +02:00
- 5.5
- 5.6
- 7.0
2014-05-25 15:40:02 +02:00
- hhvm
2014-05-23 22:17:53 +02:00
matrix:
include:
# Test against lowest bounds of dependencies to ensure they are right
- php: 5.6
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
# Test against dev versions of dependencies
- php: 5.6
env: deps=dev
before_install:
- if [ "$deps" = 'dev' ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
2012-02-25 12:06:40 +01:00
install:
- composer update $COMPOSER_FLAGS
2011-11-19 15:48:33 +01:00
script: phpunit --coverage-text
2011-11-19 15:48:33 +01:00
notifications:
email:
- travis@knplabs.com