Skip to content

Commit

Permalink
Updated league/uri dependency (closes #30)
Browse files Browse the repository at this point in the history
Updated PHP test versions for Travis
Removed HHVM test
  • Loading branch information
jkphl committed Dec 25, 2018
1 parent f33c78d commit f24c142
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 37 deletions.
74 changes: 38 additions & 36 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,46 @@
language: php
php:
- 5.6
- 7
- 7.0
- 7.1
- 7.2
- hhvm
env:
- APP_ENV=development
- APP_ENV=development CC_TEST_REPORTER_ID=efd18a36922628f0536f2f08cf7ceca763f5f2feb6f3638037381487ca3312ae
matrix:
allow_failures:
- php: hhvm
allow_failures:
- php: hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
- touch .env
- >-
if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then echo 'date.timezone =
Europe/Berlin' >> /etc/hhvm/php.ini; fi;
- >-
if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo 'date.timezone =
Europe/Berlin' >> ~/.phpenv/versions/$(phpenv
version-name)/etc/conf.d/travis.ini; fi;
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
- touch .env
- >-
if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then echo 'date.timezone =
Europe/Berlin' >> /etc/hhvm/php.ini; fi;
- >-
if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo 'date.timezone =
Europe/Berlin' >> ~/.phpenv/versions/$(phpenv
version-name)/etc/conf.d/travis.ini; fi;
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit;
fi;'
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit
--coverage-clover build/logs/clover.xml; fi;'
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit;
fi;'
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit
--coverage-clover build/logs/clover.xml; fi;'
after_script:
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget
https://scrutinizer-ci.com/ocular.phar; fi;'
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar
code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php
vendor/bin/coveralls -v; fi;'
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then
vendor/bin/test-reporter; fi;'
addons:
code_climate:
repo_token: efd18a36922628f0536f2f08cf7ceca763f5f2feb6f3638037381487ca3312ae
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget
https://scrutinizer-ci.com/ocular.phar; fi;'
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar
code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php
vendor/bin/php-coveralls -v; fi;'
- >-
bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then
vendor/bin/test-reporter; fi;'
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All Notable changes to *jkphl/micrometa* will be documented in this file.

Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## [3.0.0] - Dendency update release 2018-12-15

### Changed

* Updated dependency versions ([#30](https://github.com/jkphl/micrometa/pull/30), [#31](https://github.com/jkphl/micrometa/pull/31))
* Bumped PHP version requirement to 7.1

### [2.1.1] - Bugfix release 2018-12-15

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion doc/todo.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# jkphl/micrometa

* [ ] Fix HHVM tests
* [ ] ...

0 comments on commit f24c142

Please sign in to comment.