Skip to content

Add check_style in presubmit test.#23

Merged
qiwzhang merged 8 commits intoistio:masterfrom
qiwzhang:lint_script
Dec 29, 2016
Merged

Add check_style in presubmit test.#23
qiwzhang merged 8 commits intoistio:masterfrom
qiwzhang:lint_script

Conversation

@qiwzhang
Copy link
Contributor

No description provided.

@lizan
Copy link
Contributor

lizan commented Dec 29, 2016

https://travis-ci.org/istio/proxy/builds/187358770

Skipping: clang-format 3.8.0 required.
Current version: 3.5.0

Seems travis doesn't have required version of clang-format?

echo "Current version: ${CLANG_VERSION}"
CLANG_DIRECTORY=$(mktemp -d /tmp/clang_XXXXX)
echo "Installing required clang-format ${CLANG_VERSION_REQUIRED} to ${CLANG_DIRECTORY}"
curl --silent --show-error --retry 10 \
Copy link
Contributor

Choose a reason for hiding this comment

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

CLANG_DIRECTORY=$(mktemp -d /tmp/clang_XXXXX)
echo "Installing required clang-format ${CLANG_VERSION_REQUIRED} to ${CLANG_DIRECTORY}"
curl --silent --show-error --retry 10 \
"http://releases.llvm.org/${CLANG_VERSION_REQUIRED}/clang+llvm-${CLANG_VERSION_REQUIRED}-x86_64-linux-gnu-debian8.tar.xz" \
Copy link
Contributor

Choose a reason for hiding this comment

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

our Travis uses Ubuntu Xenial (16.04), so this should be: http://releases.llvm.org/3.8.0/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz

CLANG_DIRECTORY=$(mktemp -d /tmp/clang_XXXXX)
echo "Installing required clang-format ${CLANG_VERSION_REQUIRED} to ${CLANG_DIRECTORY}"
curl --silent --show-error --retry 10 \
"http://releases.llvm.org/${CLANG_VERSION_REQUIRED}/clang+llvm-${CLANG_VERSION_REQUIRED}-x86_64-linux-gnu-ubuntu-14.04.tar.xz" \
Copy link
Contributor

Choose a reason for hiding this comment

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

16.04

@qiwzhang qiwzhang merged commit 64c8953 into istio:master Dec 29, 2016
@qiwzhang qiwzhang deleted the lint_script branch December 29, 2016 05:40
chowchow316 pushed a commit that referenced this pull request Jan 30, 2017
* Add check_style in presubmit test.

* Checks clang-format version.

* Install required clang-fromat version.

* Download the clang-format for ubuntu.

* Cache the clang-format folder.

* Use ubuntu 16.4

* Revert ubuntu version back to 14.04.

* Make sure clang-format can be run.
fpesce pushed a commit that referenced this pull request Jun 11, 2020
* [1.5] upate envoy SHA

Signed-off-by: Yuchen Dai <silentdai@gmail.com>

* hacking gernatewasm

Signed-off-by: Yuchen Dai <silentdai@gmail.com>

* revert istio-private

Signed-off-by: Yuchen Dai <silentdai@gmail.com>
dcillera added a commit to dcillera/proxy-1 that referenced this pull request Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants