Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
language: php
sudo: false

cache:
directories:
- .phpunit
- $HOME/.composer/cache/files

php:
- 7.0
- 7.1
- 7.2
- nightly

env:
global:
- PHPUNIT_FLAGS="--coverage-text"
- COMPOSER_FLAGS="--no-interaction --no-suggest --no-progress --prefer-dist --prefer-stable"
- SYMFONY_VERSION=""

env:
- COMPOSER_FLAGS="$COMPOSER_FLAGS --prefer-lowest"
- COMPOSER_FLAGS=$COMPOSER_FLAGS
- SYMFONY_VERSION="2.8.*"
- SYMFONY_VERSION="3.0.*"
- SYMFONY_VERSION="3.1.*"
- SYMFONY_VERSION="3.2.*"
- SYMFONY_VERSION="3.3.*"
- SYMFONY_VERSION="3.4.*"

allow_failures:
- php: nightly

matrix:
fast_finish: true

before_install:
- travis_retry composer self-update
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then phpenv config-rm xdebug.ini; fi
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update --dev symfony/symfony "$SYMFONY_VERSION"; fi

install:
- composer update $COMPOSER_FLAGS

script:
- vendor/bin/phpunit $PHPUNIT_FLAGS
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"phpunit/phpunit": "~5.5",
"symfony/config": "2.3|~3.0"
},
"minimum-stability": "dev",
"autoload": {
"psr-4": { "Mapudo\\Bundle\\GuzzleBundle\\": "src/" },
"exclude-from-classmap": [
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.