From a30b04911a5c602a67c5b56344727d799c799f78 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 31 Jan 2020 00:38:47 +0300 Subject: Travis: leaner config --- .travis.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f9e4144..75bbd0b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,20 +6,25 @@ 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' jobs: include: - name: Run clang-format - script: - - ./tools/clang-format.py --clang-format clang-format-9 + language: shell + 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' + script: ./tools/clang-format.py --clang-format clang-format-9 - name: Simple CMake projects script: -- cgit v1.2.3