-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http-smoke-tests now uses current version of shopsys/coding-standards
- Loading branch information
1 parent
d59bd3a
commit 4b39c67
Showing
2 changed files
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
language: php | ||
|
||
php: | ||
- 7.2 | ||
- 7.3 | ||
|
||
env: | ||
- DEPENDENCIES="" | ||
- DEPENDENCIES="--prefer-lowest --prefer-stable" | ||
|
||
cache: | ||
directories: | ||
- ~/.composer/cache | ||
|
||
matrix: | ||
include: | ||
- { php: 5.6 } | ||
- { php: 5.6, env: DEPENDENCIES="--prefer-lowest --prefer-stable" } | ||
- { php: 7.0 } | ||
- { php: 7.1 } | ||
- { php: 7.2, env: CHECK_STANDARDS="true" } | ||
- { php: 7.2, env: DEPENDENCIES="--prefer-lowest --prefer-stable" } | ||
- { php: 7.3 } | ||
|
||
install: | ||
- if [[ "$CHECK_STANDARDS" == "true" ]]; then composer require --dev shopsys/coding-standards:dev-master; fi | ||
- travis_retry composer update $DEPENDENCIES | ||
- travis_retry composer install $DEPENDENCIES | ||
|
||
script: | ||
- php vendor/bin/parallel-lint ./src ./tests | ||
- php vendor/bin/phpunit tests | ||
- if [[ "$CHECK_STANDARDS" == "true" ]]; then php vendor/bin/ecs check --verbose ./src ./tests; fi | ||
- php vendor/bin/ecs check --verbose ./src ./tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters