Skip to content

Commit

Permalink
Merge pull request #2 from ksclarke/travis-build-66192714
Browse files Browse the repository at this point in the history
Add travis build config

Resolves: https://www.pivotaltracker.com/story/show/66192714
  • Loading branch information
Andrew Woods committed Feb 21, 2014
2 parents c688b37 + 702228e commit f82aa39
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .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

0 comments on commit f82aa39

Please sign in to comment.