sijie closed pull request #1183: Fix flaky travis build on checking license
header
URL: https://github.com/apache/bookkeeper/pull/1183
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/.travis.yml b/.travis.yml
index c56c4589a..039999e06 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -54,12 +54,11 @@ before_install:
echo "Enable testing distributedlog modules if this pull request
modifies files under directory `stream/distributedlog`."
fi
fi
- export BK_VERSION=`mvn
org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate
-Dexpression=project.version | grep -Ev '(^\[|Download\w+:)' 2> /dev/null`
script:
- travis_retry mvn --batch-mode clean apache-rat:check compile
spotbugs:check install -DskipTests
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then dev/check-binary-license
./bookkeeper-dist/all/target/bookkeeper-all-${BK_VERSION}-bin.tar.gz; fi
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then dev/check-binary-license
./bookkeeper-dist/server/target/bookkeeper-server-${BK_VERSION}-bin.tar.gz; fi
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then dev/check-binary-license
./bookkeeper-dist/all/target/bookkeeper-all-*-bin.tar.gz; fi
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then dev/check-binary-license
./bookkeeper-dist/server/target/bookkeeper-server-*-bin.tar.gz; fi
- if [ "$DLOG_MODIFIED" == "true" ]; then cd stream/distributedlog &&
travis_wait 60 mvn --batch-mode clean package -Ddistributedlog; fi
# Disabled the tests here. Since tests are running much slower on Travis than
on Jenkins
# - ./dev/ticktoc.sh "mvn --batch-mode clean package"
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services