This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 46340f9 Travis CI should not use a hardcoded release version for
check-release script
46340f9 is described below
commit 46340f9b1fa3eb59abdf502107e46af7b36d4a44
Author: Sijie Guo <[email protected]>
AuthorDate: Sat Feb 3 09:33:14 2018 -0800
Travis CI should not use a hardcoded release version for check-release
script
Descriptions of the changes in this PR:
CI is going to be broken when we bumped to 4.8.0. since travis CI is using
a hardcoded version for check-release script.
Author: Sijie Guo <[email protected]>
Reviewers: Ivan Kelly <[email protected]>, Jia Zhai <None>
This closes #1118 from sijie/fix_check_release_script
---
.travis.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index f3dd4fa..353abd2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,11 +53,12 @@ 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-4.7.0-SNAPSHOT-bin.tar.gz; fi
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then dev/check-binary-license
./bookkeeper-dist/server/target/bookkeeper-server-4.7.0-SNAPSHOT-bin.tar.gz; fi
+ - 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 [ "$DLOG_MODIFIED" == "true" ]; then cd stream/distributedlog && 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"
--
To stop receiving notification emails like this one, please contact
[email protected].