Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved build process on Travis CI (#53)
* Setting up the PHP_CodeSniffer * Fixed code style * Improved build process on Travis CI * Add PHP 5.6 to allow_failures block Refs: #46 (comment) * Moved all tests to the its own namespace * Add jaeger-idl to the ignore paths * Amended docs
- Loading branch information
1 parent
57457a1
commit f32c1a3
Showing
33 changed files
with
271 additions
and
81 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,8 +1,15 @@ | ||
.settings/ | ||
.settings | ||
.buildpath | ||
.project | ||
.idea | ||
|
||
jaeger-idl | ||
vendor | ||
|
||
composer.lock | ||
composer.phar | ||
|
||
jaeger-client-php.iml | ||
|
||
phpunit.xml | ||
phpcs.xml |
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,12 +1,34 @@ | ||
sudo: false | ||
dist: trusty | ||
|
||
language: php | ||
|
||
php: | ||
- '5.6' | ||
- '7.0' | ||
- '7.1' | ||
- '7.2' | ||
- nightly | ||
|
||
git: | ||
depth: 1 | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: '5.6' | ||
- php: nightly | ||
|
||
install: | ||
- composer install | ||
- | | ||
composer install \ | ||
--prefer-dist \ | ||
--no-interaction \ | ||
--no-ansi \ | ||
--no-progress \ | ||
--optimize-autoloader \ | ||
--no-suggest | ||
script: | ||
- vendor/bin/phpunit | ||
- vendor/bin/phpcs | ||
- vendor/bin/phpunit |
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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Jaeger"> | ||
|
||
<!-- | ||
The name attribute of the ruleset tag is displayed | ||
when running PHP_CodeSniffer with the -v command line | ||
argument. The description tag below is not displayed anywhere | ||
except in this file, so it can contain information for | ||
developers who may change this file in the future. | ||
--> | ||
<description>The coding standard for Jaeger Client</description> | ||
|
||
<!-- Show sniff codes in all reports --> | ||
<arg value="s"/> | ||
|
||
<!-- Use PSR-2 as a base --> | ||
<rule ref="PSR2"/> | ||
|
||
<!-- Uncomment to use colors in progress or report --> | ||
<!-- arg name="colors" / --> | ||
|
||
<!-- | ||
If no files or directories are specified on the command line | ||
your custom standard can specify what files should be checked | ||
instead. | ||
Note that specifying any file or directory path | ||
on the command line will ignore all file tags. | ||
--> | ||
<file>src</file> | ||
|
||
<!-- | ||
You can hard-code ignore patterns directly into your | ||
custom standard so you don't have to specify the | ||
patterns on the command line. | ||
--> | ||
<exclude-pattern>src/Jaeger/Thrift/*</exclude-pattern> | ||
</ruleset> |
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.