Skip to content

Commit

Permalink
travis: Code Checker checks for strict_types
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 20, 2017
1 parent f41db6e commit eca4ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ matrix:

script:
- vendor/bin/tester tests -s -c tests/php-unix.ini $coverageArgs
- php temp/code-checker/src/code-checker.php --short-arrays
- php temp/code-checker/src/code-checker.php --short-arrays --strict-types -i tests/Utils/files

after_failure:
# Print *.actual content
Expand All @@ -24,7 +24,7 @@ after_failure:
before_script:
# Install Nette Tester & Code Checker
- travis_retry composer install --no-interaction --prefer-dist
- travis_retry composer create-project nette/code-checker temp/code-checker ~2.5 --no-interaction
- travis_retry composer create-project nette/code-checker temp/code-checker ~2.8 --no-interaction
- if [ "$coverage" == "on" ]; then coverageArgs="-p phpdbg --coverage ./coverage.xml --coverage-src ./src"; fi

after_script:
Expand Down

0 comments on commit eca4ae2

Please sign in to comment.