Skip to content

Commit

Permalink
Build using Ant under openjdk7
Browse files Browse the repository at this point in the history
Rather than testing the Ant build under multiple JDKs, I've arbitrarily
decided to test it only under openjdk7.  This keeps us to 4 builds
rather than 6 before the build is reported as green which should be a
bit quicker.
  • Loading branch information
bewt85 committed Jun 11, 2015
1 parent 48c66ab commit f1e26e1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Expand Up @@ -4,6 +4,13 @@ jdk:
- openjdk6
- oraclejdk7
sudo: false
env:
global:
- BUILD_CMD='make'
matrix:
include:
- jdk: openjdk7
env: BUILD_CMD='ant -f build.xml'
cache:
directories:
- "${HOME}/dependencies"
Expand All @@ -13,7 +20,7 @@ before_install:
- "sh -e /etc/init.d/xvfb start"
- "source install_dependencies.sh"
install:
- "make"
- "$BUILD_CMD"
- "cd test"
- "ln -s $(pwd)/../etc/log4j.properties ."
script: ant -f build-test.xml test -DEMBOSS_ROOT=$EMBOSS_ROOT | tee test.log && [ -z "$(grep 'Failures:\s[^0]\|Errors:\s[^0]' test.log)" ]

0 comments on commit f1e26e1

Please sign in to comment.