Permalink
Browse files

travis: tested using Nette Coding Standard

  • Loading branch information...
dg committed Jul 13, 2017
1 parent 6fbed8a commit 82dd17cc483fff9da93f7e342293fa6bcb3ba18d
Showing with 9 additions and 5 deletions.
  1. +9 −5 .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

0 comments on commit 82dd17c

Please sign in to comment.