Permalink
Browse files

travis: test composer project in standalone build

  • Loading branch information...
TomasVotruba committed Jan 2, 2018
1 parent ce2455c commit 2f187cefbaf815903ec227dcb82eda28fa1ab576
Showing with 7 additions and 2 deletions.
  1. +7 −2 .travis.yml
@@ -4,13 +4,18 @@ php:
- 7.1
- 7.2

matrix:
include:
- php: 7.1
env: COMPOSER_PROJECT=true

install:
- composer install
- composer create-project nette/coding-standard:@dev temp/nette-coding-standard
- if [[ $COMPOSER_PROJECT != "" ]]; then composer create-project nette/coding-standard:@dev temp/nette-coding-standard; fi

script:
- temp/nette-coding-standard/ecs check src examples --config temp/nette-coding-standard/coding-standard-php71.neon
- composer test
- if [[ $COMPOSER_PROJECT != "" ]]; then temp/nette-coding-standard/ecs check src examples --config temp/nette-coding-standard/coding-standard-php71.neon; fi

notifications:
email: false

0 comments on commit 2f187ce

Please sign in to comment.