From 702228e379efd7d715145c91e635d864dbd5eef1 Mon Sep 17 00:00:00 2001 From: "Kevin S. Clarke" Date: Fri, 21 Feb 2014 00:24:33 -0500 Subject: [PATCH] added travis build config --- .travis.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5b6e7b5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: java + +jdk: + - openjdk7 + +branches: + only: + - master + +script: + - xmllint --valid --noout src/main/resources/fcrepo-checkstyle/checkstyle.xml + - xmllint --valid --noout src/main/resources/fcrepo-checkstyle/checkstyle-suppressions.xml + - mvn install + - unzip -d target/zipout target/fcrepo-build-tools-*.jar + - test "0" == $([ -f target/zipout/fcrepo-checkstyle/checkstyle.xml ] && echo "0" || echo "1") + - test "0" == $([ -f target/zipout/fcrepo-checkstyle/checkstyle-suppressions.xml ] && echo "0" || echo "1") + - test "0" == $([ -f target/zipout/fcrepo-license/LICENSE_HEADER.txt ] && echo "0" || echo "1") + +notifications: + irc: + channels: + - irc.freenode.org#duraspace-ff + on_failure: always + on_success: always