summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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