Skip to content

Commit

Permalink
Merge branch 'master' of github.com:libre-informatique/SonataSyliusUs…
Browse files Browse the repository at this point in the history
…erBundle into phpunit
  • Loading branch information
François GERBES committed Jun 15, 2017
2 parents c183ff2 + f2997bc commit 7e85e19
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 27 deletions.
11 changes: 4 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
# Change Log

## [Unreleased](https://github.com/libre-informatique/SonataSyliusUserBundle/tree/HEAD)

[Full Changelog](https://github.com/libre-informatique/SonataSyliusUserBundle/compare/0.4.2...HEAD)
## [0.4.3](https://github.com/libre-informatique/SonataSyliusUserBundle/tree/0.4.3) (2017-06-13)
[Full Changelog](https://github.com/libre-informatique/SonataSyliusUserBundle/compare/0.4.2...0.4.3)

**Merged pull requests:**

- DevKit updates for SonataSyliusUserBundle [\#9](https://github.com/libre-informatique/SonataSyliusUserBundle/pull/9) ([BlastCI](https://github.com/BlastCI))
- Add First Unit Test [\#8](https://github.com/libre-informatique/SonataSyliusUserBundle/pull/8) ([FanchTheSystem](https://github.com/FanchTheSystem))
- Add units tests [\#3](https://github.com/libre-informatique/SonataSyliusUserBundle/pull/3) ([haseo29](https://github.com/haseo29))

## [0.4.2](https://github.com/libre-informatique/SonataSyliusUserBundle/tree/0.4.2) (2017-05-05)
**Merged pull requests:**

- DevKit updates for SonataSyliusUserBundle [\#2](https://github.com/libre-informatique/SonataSyliusUserBundle/pull/2) ([BlastCI](https://github.com/BlastCI))



\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ lint:
#find . -name '*.yml' -not -path './vendor/*' -not -path './Resources/public/vendor/*' | xargs yaml-lint

test:
phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml

docs:
cd src/Resources/doc && sphinx-build -b html -d _build/doctrees . _build/html
23 changes: 7 additions & 16 deletions bin/ci-scripts/install_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,16 @@ set -ev

mkdir --parents "${HOME}/bin"

# PHPUnit install
# strange sh operator '<' ...
if [ ${TRAVIS_PHP_VERSION} '<' '7.0' ]; then
PHPUNIT_PHAR=phpunit-5.7.phar
else
PHPUNIT_PHAR=phpunit.phar
fi
wget "https://phar.phpunit.de/${PHPUNIT_PHAR}" --output-document="${HOME}/bin/phpunit"
chmod u+x "${HOME}/bin/phpunit"
# Ugly hack
echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

composer install --no-interaction --prefer-dist
composer require --no-interaction --dev phpunit/phpunit
composer update --prefer-dist --no-interaction --prefer-stable


# Coveralls client install
wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar --output-document="${HOME}/bin/coveralls"
chmod u+x "${HOME}/bin/coveralls"

# Ugly hack
echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
if [ "${COMPOSER_FLAGS}" = '--prefer-lowest' ]; then
composer update --prefer-dist --no-interaction --prefer-stable --quiet
fi
composer update --prefer-dist --no-interaction --prefer-stable ${COMPOSER_FLAGS}
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"minimum-stability": "dev",
"require": {
"php": ">=5.6",
"symfony/symfony": "3.2.*",
"symfony/symfony": ">=3.2",
"sylius/user-bundle": "1.0.x-dev",
"blast-project/base-entities-bundle": "^0.4"
"blast-project/base-entities-bundle": ">=0.4"
},
"require-dev": {
"symfony/phpunit-bridge": "3.2.*"
"symfony/phpunit-bridge": ">=3.2"
},
"config": {
"sllh-composer-lint": {
Expand Down

0 comments on commit 7e85e19

Please sign in to comment.