Skip to content

Commit

Permalink
http-smoke-tests now uses current version of shopsys/coding-standards
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasLudvik committed May 27, 2019
1 parent d59bd3a commit 4b39c67
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
23 changes: 10 additions & 13 deletions packages/http-smoke-testing/.travis.yml
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
2 changes: 1 addition & 1 deletion packages/http-smoke-testing/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"jakub-onderka/php-parallel-lint": "^0.9"
"shopsys/coding-standards": "^8.0.x-dev"
},
"conflict": {
"symfony/dependency-injection": "3.4.15|3.4.16"
Expand Down

0 comments on commit 4b39c67

Please sign in to comment.