summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPhansys <phansys@gmail.com>2013-08-30 16:55:02 -0300
committerPhansys <phansys@gmail.com>2013-08-30 16:55:02 -0300
commita68d81bc76e08aaa4c33db3865050656647147a5 (patch)
treeaddf6eafae3ca636423fecdedb93a75a07b48e75 /tests
parentae54c3752af9d58d5b9ae0273cd98bf30f572515 (diff)
downloadphp-jwt-a68d81bc76e08aaa4c33db3865050656647147a5.zip
php-jwt-a68d81bc76e08aaa4c33db3865050656647147a5.tar.gz
php-jwt-a68d81bc76e08aaa4c33db3865050656647147a5.tar.bz2
Added config for phpunit and Travis CI.
Diffstat (limited to 'tests')
-rw-r--r--tests/bootstrap.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
new file mode 100644
index 0000000..326c216
--- /dev/null
+++ b/tests/bootstrap.php
@@ -0,0 +1,7 @@
+<?php
+
+if (file_exists($file = __DIR__ . '/autoload.php')) {
+ require_once $file;
+} elseif (file_exists($file = __DIR__ . '/autoload.php.dist')) {
+ require_once $file;
+}