You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
787 B
34 lines
787 B
dist: xenial |
|
os: linux |
|
language: php |
|
|
|
# avoid double Travis build when the PR is created on upstream |
|
if: | |
|
type = pull_request OR \ |
|
branch = master |
|
|
|
jobs: |
|
include: |
|
- php: 8.0 |
|
env: SYMFONY_PHPUNIT_VERSION=7.5 |
|
fast_finish: true |
|
allow_failures: |
|
- php: 8.0 |
|
|
|
cache: |
|
directories: |
|
- $HOME/.composer/cache/files |
|
|
|
before_install: |
|
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi; |
|
|
|
install: |
|
- if [ "$CS_FIXER" != "run" ]; then composer remove friendsofphp/php-cs-fixer --dev --no-progress --no-update ; fi; |
|
- composer update --prefer-dist --no-progress -o |
|
- php vendor/bin/simple-phpunit install |
|
|
|
before_script: |
|
- mkdir -p build/logs |
|
|
|
script: |
|
- php vendor/bin/simple-phpunit -v
|
|
|