Skip to content

Commit

Permalink
Merge pull request #697 from ovos/feature/travis-enable-apcu
Browse files Browse the repository at this point in the history
enable apcu on travis + php 7.3
  • Loading branch information
mnapoli authored Dec 12, 2019
2 parents 479d0e7 + 7256618 commit 882abee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ php:
- 7.0
- 7.1
- 7.2
- 7.3
- nightly

matrix:
Expand All @@ -28,6 +29,8 @@ before_script:
- if [[ $(phpenv version-name) == '7.1' ]]; then composer require satooshi/php-coveralls '~1.0' -n ; fi
- if [[ $(phpenv version-name) != '7.1' ]]; then composer install -n ; fi
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable -n; fi;
- echo "extension = apcu.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- echo 'apc.enable_cli = 1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

script:
- if [[ $(phpenv version-name) == '7.1' ]]; then vendor/bin/phpunit --coverage-clover clover.xml ; fi
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ parameters:
ignoreErrors:
- '#Access to undefined constant DI\\CompiledContainer::METHOD_MAPPING.#'
- '#Function apcu_.* not found.#'
reportUnmatchedIgnoredErrors: false

0 comments on commit 882abee

Please sign in to comment.