From 84ebb99c70e325f55a9e20dd08daef82f6f88a37 Mon Sep 17 00:00:00 2001 From: Ere Maijala <ere.maijala@helsinki.fi> Date: Thu, 9 Apr 2015 09:04:50 -0400 Subject: [PATCH] Travis settings. --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000000..57ea20600e5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: php +php: + - 5.4 + +env: + - VUFIND_HOME=$PWD VUFIND_LOCAL_DIR=$PWD/local + +before_script: + - pyrus install pear/PHP_CodeSniffer + - phpenv rehash + +script: + - phpunit --stderr --configuration module/VuFind/tests/phpunit.xml + - phpcs --standard=PEAR --ignore=*/config/*,*/tests/* --extensions=php $PWD/module \ No newline at end of file -- GitLab