ARTEMIS-1684 remove native libs before ci build to avoid aio resource constraints failing tests in error

This commit is contained in:
gtully 2018-10-08 12:31:40 +01:00
parent 2e96d9b5cc
commit 65feda8e92
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,10 @@ language: java
install: true install: true
# clean out Artemis artifacts from the cache # clean out Artemis artifacts from the cache
before_install: rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-* # 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 'install' so smoke-tests will work
# use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run # use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run