| sudo: false |
| language: java |
| install: true |
| |
| # clean out Artemis artifacts from the cache |
| # whack native libs such that LibAIO is not used till we figure out the resource constraints |
| before_install: |
| - rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-* |
| - rm artemis-native/bin/libartemis-native-* |
| |
| # use 'install' so smoke-tests will work |
| # use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run |
| script: |
| - set -e |
| - mvn -Pfast-tests -Pextra-tests -B install -q -pl '!artemis-web' |
| - cd examples |
| - mvn install -Prelease install -B -q |
| |
| cache: |
| directories: |
| - $HOME/.m2 |
| before_cache: |
| - rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-* |