fix for clang-tidy (#16164)
authorMichael Suo <suo@fb.com>
Fri, 18 Jan 2019 22:01:41 +0000 (14:01 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 18 Jan 2019 22:04:26 +0000 (14:04 -0800)
Summary:
It turns out that clang-tidy is bundled with travis's standard trusty distribution, so no need to install it manually.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16164

Differential Revision: D13738986

Pulled By: suo

fbshipit-source-id: d0cd76c615625b2ed7f18951289412989f15849d

.travis.yml

index ab07565..e292857 100644 (file)
@@ -34,11 +34,5 @@ matrix:
         script: cd docs/cpp/source && ./check-doxygen.sh
       - env: CLANG_TIDY
         python: "3.6"
-        addons:
-          apt:
-            sources:
-              - ubuntu-toolchain-r-test
-              - llvm-toolchain-trusty
-            packages: clang-tidy
         script: tools/run-clang-tidy-in-ci.sh