2018-02-15 09:53:39 -05:00
|
|
|
sudo: false
|
|
|
|
language: java
|
2018-02-17 01:55:05 -05:00
|
|
|
install: true
|
2018-02-21 13:10:40 -05:00
|
|
|
|
2018-03-09 11:31:37 -05:00
|
|
|
# clean out Artemis artifacts from the cache
|
|
|
|
before_install: rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-*
|
|
|
|
|
2018-02-21 13:10:40 -05:00
|
|
|
# use 'install' so smoke-tests will work
|
|
|
|
# use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run
|
2018-04-17 13:47:21 -04:00
|
|
|
script:
|
|
|
|
- set -e
|
|
|
|
- mvn -Pfast-tests -Pextra-tests -B install -q
|
|
|
|
- cd examples
|
|
|
|
- mvn install -Prelease install -B -q
|
2018-02-21 13:10:40 -05:00
|
|
|
|
2018-02-15 09:53:39 -05:00
|
|
|
cache:
|
|
|
|
directories:
|
2018-02-17 01:55:05 -05:00
|
|
|
- $HOME/.m2
|
2018-03-09 12:39:41 -05:00
|
|
|
before_cache:
|
|
|
|
- rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-*
|