1
0
Fork 0
composer/.travis.yml

44 lines
880 B
YAML
Raw Normal View History

2011-11-13 17:48:51 +00:00
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
addons:
apt:
packages:
- parallel
php:
2012-05-28 12:11:30 +00:00
- 5.3.3
2011-11-13 17:48:51 +00:00
- 5.3
- 5.4
2012-12-20 12:59:21 +00:00
- 5.5
2014-02-24 07:24:01 +00:00
- 5.6
2015-03-01 20:47:15 +00:00
- 7.0
- hhvm
2015-10-27 10:12:43 +00:00
- nightly
matrix:
fast_finish: true
2015-10-27 10:12:43 +00:00
allow_failures:
- php: 7.0
2015-10-27 10:12:43 +00:00
- php: nightly
2013-09-25 08:14:42 +00:00
before_script:
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
2015-10-28 02:52:53 +00:00
- flags=""
- if [ `phpenv version-name` == "5.3.3" ]; then flags="--ignore-platform-reqs"; fi
- composer install $flags
- bin/composer install $flags
- git config --global user.name travis-ci
- git config --global user.email travis@example.com
2011-11-13 18:01:46 +00:00
2013-09-25 08:14:42 +00:00
script:
2015-10-27 09:11:01 +00:00
- ls -d tests/Composer/Test/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/complete.phpunit.xml --colors=always {} || (echo -e "\e[41mFAILED\e[0m {}" && $(exit 1));'
git:
depth: 5