Skip to content

Commit f1167f3

Browse files
committed
Fix coverage upload script and only test live with coverage on.
1 parent b36ba4b commit f1167f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ before_script:
3939
script:
4040
- composer check-code
4141
- if [[ "$COVERAGE" == "1" ]] ; then composer test-cov-live; fi
42-
- if [[ "$COVERAGE" != "1" ]] ; then composer test-live; fi
42+
- if [[ "$COVERAGE" != "1" ]] ; then composer test; fi
4343

4444
after_success:
4545
- if [[ "$COVERAGE" == "1" ]]; then composer test-cov-upload; fi

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"vendor/bin/phpunit --coverage-clover=coverage.xml"
5555
],
5656
"test-cov-upload": [
57-
"bash <(curl -s https://codecov.io/bash)"
57+
"curl -s https://codecov.io/bash | bash"
5858
]
5959
}
6060
}

0 commit comments

Comments
 (0)