File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,10 @@ jobs:
127127 - checkout
128128 - run :
129129 command : |
130- sudo apt-get update -y
131- sudo apt-get install -y clang-format
132- ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc
130+ curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
131+ chmod +x clang-format
132+ sudo mv clang-format /opt/clang-format
133+ ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
133134
134135 binary_linux_wheel :
135136 << : *binary_common
Original file line number Diff line number Diff line change @@ -127,9 +127,10 @@ jobs:
127127 - checkout
128128 - run:
129129 command: |
130- sudo apt-get update -y
131- sudo apt-get install -y clang-format
132- ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc
130+ curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
131+ chmod +x clang-format
132+ sudo mv clang-format /opt/clang-format
133+ ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
133134
134135 binary_linux_wheel:
135136 <<: *binary_common
You can’t perform that action at this time.
0 commit comments