Files
spring-cloud-stream/.travis.yml
2016-05-12 15:57:07 -04:00

26 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
sudo: false
cache:
directories:
- $HOME/.m2
language: java
jdk:
- oraclejdk8
services:
- redis-server
env:
- REDIS_TIMEOUT_MULTIPLIER=3 KAFKA_TIMEOUT_MULTIPLIER=30 SCS_KAFKA_TEST_EMBEDDED=false
before_install:
- wget http://www.us.apache.org/dist/kafka/0.8.2.1/kafka_2.10-0.8.2.1.tgz -O kafka.tgz
- mkdir -p kafka && tar xzf kafka.tgz -C kafka --strip-components 1
- nohup bash -c "cd kafka && bin/zookeeper-server-start.sh config/zookeeper.properties &"
- nohup bash -c "cd kafka && bin/kafka-server-start.sh config/server.properties &"
- sleep 5
install: true
# The environment variable ${TRAVIS_PULL_REQUEST} is set to "false" when the build
# is for a normal branch commit. When the build is for a pull request, it will
# contain the pull requests number.
script:
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw package -Pspring,full -U -Dmaven.test.redirectTestOutputToFile=false'
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] || ./mvnw package -Pspring -U -Dmaven.test.redirectTestOutputToFile=false'