NO-JIRA Adding examples verification into travis
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/1f4e7be0 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/1f4e7be0 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/1f4e7be0 Branch: refs/heads/master Commit: 1f4e7be0079cb8f8d0a03b0ce404c25f82068f3c Parents: 98da402 Author: Clebert Suconic <[email protected]> Authored: Tue Apr 17 13:47:21 2018 -0400 Committer: Clebert Suconic <[email protected]> Committed: Tue Apr 17 15:10:15 2018 -0400 ---------------------------------------------------------------------- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/1f4e7be0/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 582754c..9244f85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,11 @@ before_install: rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-* # use 'install' so smoke-tests will work # use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run -script: mvn -Pfast-tests -Pextra-tests -B install +script: +- set -e +- mvn -Pfast-tests -Pextra-tests -B install -q +- cd examples +- mvn install -Prelease install -B -q cache: directories:
