From e35d1535942156b1e54f3650b7a9a7d218dde7dc Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sun, 30 Aug 2015 01:40:31 +0200 Subject: [PATCH] Travis --- .travis.yml | 9 +++++++++ common.php | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..924623f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: php +php: + - 5.4 + - 5.5 + - 5.6 +install: + - composer install + - npm install +script: phpunit tests/ diff --git a/common.php b/common.php index be7d0bb..4db3064 100644 --- a/common.php +++ b/common.php @@ -12,7 +12,7 @@ * @license GNU General Public License http://www.gnu.org/licenses/gpl.html * @link http://rudloff.pro * */ -require_once 'vendor/autoload.php'; +require_once __DIR__.'/vendor/autoload.php'; if (is_file('config.php')) { include_once 'config.php'; } else {