summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.travis.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e0b0b51
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,28 @@
+language: php
+php:
+ - '5.4'
+ - '5.5'
+ - '5.6'
+ - '7.0'
+ - '7.1'
+ - nightly
+
+cache:
+ directories:
+ - vendor
+
+matrix:
+ fast_finish: true
+ allow_failures:
+ - php: nightly
+
+branches:
+ only:
+ - master
+ - /^v\d/
+
+before_script:
+- ./test/setup_vendor.sh
+
+script:
+ - php vendor/phpunit.phar