diff options
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index d79300c..797eb4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,14 +6,11 @@ addons: apt: update: true packages: - - clang-format-9 - cmake - g++-multilib sources: - sourceline: 'deb https://apt.kitware.com/ubuntu/ bionic main' key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc' - - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main' - key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' env: global: @@ -49,6 +46,14 @@ jobs: include: - name: Run clang-format if: branch = master + addons: + apt: + update: true + packages: + - clang-format-9 + sources: + - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main' + key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' # Clear before_script: before_script: - true |