Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 24 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,40 +15,43 @@ dist: trusty
language: java

env:
- _DUCKTAPE_OPTIONS="--subset 0 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 1 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 2 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 3 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 4 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 5 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 6 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 7 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 8 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 9 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 10 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 11 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 12 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 13 --subsets 15"
- _DUCKTAPE_OPTIONS="--subset 14 --subsets 15"
global:
# These secure values are encrypted for linkedin/kafka. For use in forked repos, set env vars in your own build - they should win over these (as these won't be decodable in forked builds).
- secure: PF5bwSD7RX+mouOZDTW65AB7AAtB3gr7bMrtA1I2Gas1Qd3EtySvOrFraSjJX9m7CVJOvIVeUEtSlsuINprvi0Z9w3qcPHGEIgGI7BWp1t28pfAvL7Uk/9MXkYDdzc/fb7mH3aW2nk4OgIvP0w0CSAfcVwC2/SFBZ6Dv1n3wKIbjd7grVkxZyRZLHekyBqwsS+ks1v5jsRwXEX2qa1mtkcotCKeiazrXwsZm0GPDCkjIFNUHqrmtz9/q24h0EPNPaoclzsWIT6L/+z9s1Zx+5ZKTpbjCYAAf3cmbcdbbLqmsLEmEM9iKmAdwkjrYr+H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
- gradle wrapper

script:
- ./gradlew rat
- ./gradlew systemTestLibs && /bin/bash ./tests/docker/run_tests.sh
# By default, the install step will run ./gradlew assemble, which actually builds. Skip this step and do the actual
# build during the build step.
install: true

services:
- docker
# Excluded integration tests for now because Travis will hit build timeout (50 minutes) when including them.
# Also excluded streams unitTest because they often fail with "pure virtual method called" error (KAFKA-3502).
# TODO: re-enable these tests when the mentioned issues are resolved.
script:
- ./gradlew clean compileJava compileScala compileTestJava compileTestScala checkstyleMain checkstyleTest findbugsMain unitTest -x :streams:unitTest rat --no-daemon -PxmlFindBugsReport=true -PtestLoggingEvents=started,passed,skipped,failed

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at least add a todo to re-enable streams unit tests

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
directories:
- "$HOME/.m2/repository"
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"

# This will triger publishing artifacts to bintray upon the creation of a new tag in the "x.y.z.w" format.
deploy:
provider: script
script: ./gradlew -Pversion=$TRAVIS_TAG uploadArchivesAll
skip_cleanup: true
on:
tags: true
all_branches: true
condition: $TRAVIS_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$