forked from dadoonet/fscrawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
20 lines (19 loc) · 980 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: java
sudo: true
jdk:
- oraclejdk8
install: true
before_script:
- sudo sysctl -w vm.max_map_count=262144
script:
# We fetch as much as dependencies we can but we don't print the output so it's more digest
# Sadly this is the only way to make maven download everything and not pollute the logs...
- mvn --batch-mode clean dependency:resolve dependency:resolve-plugins install -DskipTests -Dsilent=true > /dev/null
- mvn --batch-mode clean verify -Pes-2x-travis
- mvn -batch-mode clean verify
- "[[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_TAG} == '' ]] && mvn deploy -DskipTests --settings deploy-settings.xml"
#after_success:
# - "[[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_TAG} == '' ]] && mvn deploy -DskipTests --settings deploy-settings.xml"
after_failure:
- echo "As we got a failure, let's see what we have in elasticsearch cluster logs"
- cat target/integration-tests/run/elasticsearch-*/logs/elasticsearch_integration.log