diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..57ea20600e5e58596cd4484058ba8b057c972d22 --- /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