Skip to content

Commit

Permalink
fix Travis-CI config and add Coveralls config
Browse files Browse the repository at this point in the history
  • Loading branch information
l0gicgate committed Aug 18, 2019
1 parent 4555ac3 commit 7aa52fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
json_path: coveralls-upload.json
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ dist: trusty
matrix:
include:
- php: 7.1
env: ANALYSIS='true'
- php: 7.2
- php: 7.3
env: ANALYSIS='true'
- php: nightly
allow_failures:
- php: nightly
Expand All @@ -18,9 +18,6 @@ before_script:

script:
- if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpunit --coverage-clover clover.xml ; fi
- vendor/bin/phpunit
- vendor/bin/phpcs
- vendor/bin/phpstan analyse Slim

after_success:
- if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/php-coveralls --coverage_clover=clover.xml -v ; fi

0 comments on commit 7aa52fc

Please sign in to comment.