Skip to content

Commit

Permalink
travis: uses NCS 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 13, 2018
1 parent e700fa5 commit 017e086
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -29,15 +29,15 @@ jobs:
# Install Nette Code Checker
- travis_retry composer create-project nette/code-checker temp/code-checker ^3.0 --no-progress
# Install Nette Coding Standard
- travis_retry composer create-project nette/coding-standard temp/coding-standard --no-progress
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
# Install new Node.js and Eslint
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install eslint
script:
- php temp/code-checker/src/code-checker.php --strict-types -i tests/Tracy/fixtures -i examples/assets
- php temp/coding-standard/ecs check src tests examples tools --config tests/coding-standard.neon
- php temp/coding-standard/ecs check src tests examples tools --config tests/coding-standard.yml
- ./node_modules/.bin/eslint "src/**/*.js"


Expand Down
7 changes: 0 additions & 7 deletions tests/coding-standard.neon

This file was deleted.

7 changes: 7 additions & 0 deletions tests/coding-standard.yml
@@ -0,0 +1,7 @@
imports:
- { resource: '../temp/coding-standard/coding-standard-php71.yml' }

parameters:
skip:
PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer:
- src/Tracy/Debugger.php

0 comments on commit 017e086

Please sign in to comment.