Travis improvements (#12)
Travis improvements (#12)

* Travis: Remove unneeded comments

The configuration is quite simple and fully documented on Travis website.

* Travis: Reorder configuration sections

First, define the language, the versions and the matrix.

Then, explain what Travis should do.

* Travis: Use quotes for PHP 7.0 version

* Travis: Add unstable versions to tests

Those target are under the allow_failures matrix section.

This will not making Travis failing but will show you if your project if still compatible with future PHP and major dependencies versions.

Thanks to fast_finish option, tests under allow_failures will not make the status waiting any longer.

* Travis: Improve process sections separation

* before_install: Prepare the environment before process
* install: Install the dependencies (Composer, wget...)

* Travis: Composer update with --prefer-dist and cache

The --prefer-dist would give you a quicker process.

If the dist install fail (because of GitHub API limit), composer will fallback to the source install.

Caching vendor files would avoid download them on each job, making your process event quicker.

About API limit, a GITHUB_OAUTH_TOKEN env var can be set to avoid this error.

* Travis: Disable xdebug

XDebug has a major impact on runtime performance.

Disable it will improve job rapidity.

The extension is restored just before tests to keep coverage working.

* Travis: Fix indentation on notifications section

* Travis: Proper way to store downloaded binaries

* Travis: Add composer vendor bin directory to PATH

Algatux/influxdb-bundle,Soullivaneuh/influxdb-bundle