-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved testing on Travis by adding Symfony versions (#9)
* [twgit] Init feature 'feature/improve-testing-sf2-3'. * Updated travis.yml and removed composer.lock * Removed composer update in travis.yml * Changed distribution for Travis (PHP 5.5 support) * Updated travis bin/console command * Removed step to install console as it is part of the first require * Return 0 at the end of the command * Added composer.lock (to avoid memory issues on Travis) * Added composer update in travis.yml * Try to improve php memory limit * Backticks * travis debug * travis debug * travis debug * Changed tests dependency version
- Loading branch information
1 parent
513dcbb
commit 868d0c9
Showing
4 changed files
with
14 additions
and
2,829 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
dist: trusty # for php 5.5 support | ||
language: php | ||
|
||
php: | ||
- '5.3' | ||
- '5.4' | ||
- '5.5' | ||
- '5.6' | ||
- '7.0' | ||
- '7.1' | ||
- '7.4' | ||
|
||
env: | ||
- SYMFONY_VERSION="2.1" | ||
- SYMFONY_VERSION="2.8" | ||
- SYMFONY_VERSION="3.4" | ||
|
||
before_script: | ||
- composer update | ||
script: bin/phpunit --coverage-clover=coverage.clover Tests | ||
- echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini | ||
- phpenv config-rm xdebug.ini | ||
- composer require symfony/framework-bundle:${SYMFONY_VERSION} | ||
script: bin/phpunit --coverage-clover=coverage.clover Tests | ||
after_script: | ||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,8 @@ protected function execute(InputInterface $input, OutputInterface $output) | |
} | ||
} | ||
} | ||
|
||
return 0; | ||
} | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.