KnpMarkdownBundle/.travis.yml

39 lines
944 B
YAML
Raw Permalink Normal View History

2011-11-19 15:48:33 +01:00
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
2019-11-25 20:02:34 +01:00
- $HOME/symfony-bridge/.phpunit
env:
global:
- PHPUNIT_FLAGS="-v"
2019-11-25 20:02:34 +01:00
- SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"
2014-05-23 22:17:53 +02:00
matrix:
fast_finish: true
include:
2017-11-16 09:34:47 +01:00
- php: 7.1
- php: 7.2
- php: 7.3
env: deps=low
2021-01-20 18:02:21 +01:00
- php: 7.4
- php: 8.0
before_install:
- phpenv config-rm xdebug.ini || true
2021-01-20 18:02:21 +01:00
- composer global require --no-progress --no-scripts --no-plugins symfony/flex dev-main
2012-02-25 12:06:40 +01:00
install:
- |
if [[ $deps = low ]]; then
export SYMFONY_DEPRECATIONS_HELPER=weak
composer update --prefer-dist --prefer-lowest --prefer-stable
else
composer update --prefer-dist
fi
2019-11-25 20:18:15 +01:00
- ./vendor/bin/simple-phpunit install
script:
- composer validate --strict --no-check-lock
2019-11-25 22:04:21 +01:00
- ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS