summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Leland <rich@richleland.com>2015-02-06 11:59:45 -0500
committerRichard Leland <rich@richleland.com>2015-02-06 11:59:45 -0500
commitef2a2cbc9cf83347f92dad5ffb7daceb614c93a7 (patch)
tree3c8462519bb8ebe26b6dcaded4db4146d12f7191
parent3ac30cf00aaec7d2b4c313f52f05bdd5dab93fc3 (diff)
parent0dc780b38359ec7bd37a27e683aea7a6f50d0d40 (diff)
downloadphp-sparkpost-ef2a2cbc9cf83347f92dad5ffb7daceb614c93a7.zip
php-sparkpost-ef2a2cbc9cf83347f92dad5ffb7daceb614c93a7.tar.gz
php-sparkpost-ef2a2cbc9cf83347f92dad5ffb7daceb614c93a7.tar.bz2
Merge pull request #1 from SparkPost/travisci
Add Travis CI
-rw-r--r--.travis.yml10
-rw-r--r--README.md4
2 files changed, 13 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..366656e
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,10 @@
+language: php
+php:
+- '5.5'
+- '5.4'
+install:
+- composer install
+script: phpunit --bootstrap test/unit/bootstrap.php ./test/unit
+notifications:
+ slack:
+ secure: dsz+D/TuylEi+6zqdB5dVqyMlpbpafaBBcAwYIijTK6LuG8KdIdGNSFVX1ro6o3bJFwMvtfxNeK1eFrMy8l6VHZQL0dkXWRmCl/pxLhEntUiYTDwDOtiqy1QLZtv5AqtsdSr1qLiOJtgF6gXk66xipnV2UzjLVVoxzSrdOSnX4U=
diff --git a/README.md b/README.md
index 74bcb64..9d8258a 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[![Travis CI](https://travis-ci.org/SparkPost/php-sparkpost.svg?branch=master)](https://travis-ci.org/SparkPost/php-sparkpost)
+
# SparkPost PHP SDK
The official PHP binding for your favorite SparkPost APIs!
@@ -101,4 +103,4 @@ Submitting pull requests
Signing our CLA
-Our coding standards \ No newline at end of file
+Our coding standards