Skip to content

Commit

Permalink
added a Travis job with symfony/translation-contracts installed to pr…
Browse files Browse the repository at this point in the history
…ove that the previous commit actually solves the issue
  • Loading branch information
craue committed Nov 26, 2019
1 parent 537e0b2 commit a7e26f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- stage: test
php: 7.3
env: SYMFONY_VERSION='3.4.*' PARAM_DB_DRIVER='pdo_sqlite' SYMFONY_DEPRECATIONS_HELPER='9'
-
php: 7.3
env: SYMFONY_VERSION='3.4.*' WITH_TRANSLATION_CONTRACTS='yes'
-
php: 7.3
env: SYMFONY_VERSION='4.1.*'
Expand Down
4 changes: 4 additions & 0 deletions .travis_install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ if [ -n "${WITH_STATIC_ANALYSIS:-}" ]; then
composer require --no-update --dev phpstan/phpstan-shim
fi

if [ -n "${WITH_TRANSLATION_CONTRACTS:-}" ]; then
composer require --no-update --dev "symfony/translation-contracts:~1.1"
fi

composer update ${COMPOSER_UPDATE_ARGS:-}

0 comments on commit a7e26f0

Please sign in to comment.