Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
travis: tested using Nette Coding Standard
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 20, 2019
1 parent a73c16c commit 85e889d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
@@ -1,12 +1,16 @@
language: php
php:
- 5.6
- 7.1

script:
- php code-checker/src/code-checker.php
install:
# Install Nette Code Checker
- travis_retry composer create-project nette/code-checker temp/code-checker ~2 --no-progress
# Install Nette Coding Standard
- travis_retry composer create-project nette/coding-standard temp/coding-standard --no-progress

before_script:
- travis_retry composer create-project nette/code-checker code-checker --no-interaction
script:
- php temp/code-checker/src/code-checker.php --short-arrays --strict-types
- php temp/coding-standard/ecs check . --config temp/coding-standard/coding-standard-php71.neon

sudo: false

Expand Down

0 comments on commit 85e889d

Please sign in to comment.