diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..9473c3205 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: php + +php: + - 5.5 + - 5.6 + +before_script: + - composer selfupdate + - composer install --prefer-source + +script: + - vendor/bin/phpspec run diff --git a/README.md b/README.md index c5380a0f5..7b53c6ecd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # InfluxDB PHP SDK +[![Build Status](https://travis-ci.org/corley/influxdb-php-sdk.svg?branch=master)](https://travis-ci.org/corley/influxdb-php-sdk) [![Dependency Status](https://www.versioneye.com/user/projects/54104e789e1622492d000025/badge.svg?style=flat)](https://www.versioneye.com/user/projects/54104e789e1622492d000025) Send message to InfluxDB. ```php