From 066a274801a27cd29eefc09bba08f19bb61b028b Mon Sep 17 00:00:00 2001 From: Gianluca Arbezzano Date: Wed, 10 Sep 2014 15:16:45 +0200 Subject: [PATCH] Add travis.yml support --- .travis.yml | 12 ++++++++++++ README.md | 1 + 2 files changed, 13 insertions(+) create mode 100644 .travis.yml 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