Skip to content

Commit

Permalink
Binary shall be named after tool name (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Dec 8, 2017
1 parent be89ab9 commit a9c3561
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ script:
- if [ "$CHECKS" = "yes" ]; then composer sca; fi;

after_success:
- bin/coveralls -v --exclude-no-stmt
- bin/php-coveralls -v --exclude-no-stmt

before_deploy:
- if [ "${BOX}" = "yes" ]; then curl -LSs http://box-project.github.io/box2/installer.php | php; fi;
Expand All @@ -49,7 +49,7 @@ deploy:
provider: releases
api_key:
secure: dNw8/urkXHRHzcI0F8NwYP63FjhcrpUqOO92uclAYESBjyVyhBzMuczBlGfwqdoxknwK+4wsDkr6TW7AtfeTa3d48acHdUD3ahWFFk9paC8jIVsh/H01UMsY3Xz4Z3KVWQDRFS5LIaDKk3jqPyvN+FiJpEQ8drIA+GDpm4VSQHc=
file: build/artifacts/coveralls.phar
file: build/artifacts/php-coveralls.phar
skip_cleanup: true
on:
repo: php-coveralls/php-coveralls
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ We started to create a phar file, starting from the version 0.7.0
release. It is available at the URLs like:

```
https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.0/coveralls.phar
https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar
```

Download the file and add exec permissions:

```sh
$ wget https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.0/coveralls.phar
$ chmod +x coveralls.phar
$ wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar
$ chmod +x php-coveralls.phar
```

## Install by composer
Expand All @@ -46,7 +46,7 @@ $ composer require php-coveralls/php-coveralls
If you need support for PHP versions older than 5.5, you will need to use a 1.x version:

```sh
$ composer require php-coveralls/php-coveralls '~1.0'
$ composer require php-coveralls/php-coveralls '^2.0'
```

You can see this library on [Packagist](https://packagist.org/packages/php-coveralls/php-coveralls).
Expand Down Expand Up @@ -105,7 +105,7 @@ Above settings are good for most projects if your test suite is executed once a

```json
"require-dev": {
"php-coveralls/php-coveralls": "dev-master",
"php-coveralls/php-coveralls": "^2.0",
"phpunit/phpcov": "^2.0"
},
```
Expand Down Expand Up @@ -160,7 +160,7 @@ php-coveralls collects `count` attribute in a `line` tag from `clover.xml` if it

## Travis CI

Add `php coveralls.phar` or `php vendor/bin/coveralls` to your `.travis.yml` at `after_success`.
Add `php php-coveralls.phar` or `php vendor/bin/php-coveralls` to your `.travis.yml` at `after_success`.

```yml
# .travis.yml
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions box.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"alias": "coveralls.phar",
"alias": "php-coveralls.phar",
"chmod": "0755",
"directories": ["src"],
"compactors": [
Expand All @@ -17,7 +17,7 @@
}
],
"git-version": "package_version",
"main": "bin/coveralls",
"output": "build/artifacts/coveralls.phar",
"main": "bin/php-coveralls",
"output": "build/artifacts/php-coveralls.phar",
"stub": true
}

0 comments on commit a9c3561

Please sign in to comment.