diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-31 00:38:47 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-31 00:38:47 +0300 |
commit | a30b04911a5c602a67c5b56344727d799c799f78 (patch) | |
tree | 96a129a0adee8710c461b9e376eff10a15ba2899 /.travis.yml | |
parent | boost/cmake: specify Windows explicitly in toolchains (diff) | |
download | cmake-common-a30b04911a5c602a67c5b56344727d799c799f78.tar.gz cmake-common-a30b04911a5c602a67c5b56344727d799c799f78.zip |
Travis: leaner config
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 15 |
1 files 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: |