* Add codecov support Resolves #1043 * Remove unwanted service configs from travis - Spring Cloud Stream doesn't use Redis/Kafka services as these were originally added to support their binder support in the same repo
17 lines
616 B
YAML
17 lines
616 B
YAML
sudo: required
|
||
cache:
|
||
directories:
|
||
- $HOME/.m2
|
||
language: java
|
||
jdk:
|
||
- oraclejdk8
|
||
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 request’s 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'
|
||
after_success:
|
||
- bash <(curl -s https://codecov.io/bash)
|