From df1d6f98e2d7940da66ffb1ba35921e58f344e6b Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 19 May 2015 10:08:06 -0400 Subject: [PATCH] Simple Travis configuration to prevent warnings. - No PHPUnit here; the necessary fixes to make tests pass in Travis are made in VuFind 2.5. --- .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..c7a460f64dc --- /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: + - pear install pear/PHP_CodeSniffer + - phpenv rehash + +script: + - phpcs --standard=PEAR --ignore=*/config/*,*/tests/* --extensions=php $PWD/module + -- GitLab