From 17f5ea886f2f3ee7c1f207f8576671c01e0bed57 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Sun, 8 Apr 2018 16:01:20 +0200 Subject: [PATCH] test --- .travis.yml | 45 +++++---------------------------------------- 1 file changed, 5 insertions(+), 40 deletions(-) diff --git a/.travis.yml b/.travis.yml index f359af5..717aaa2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,51 +1,16 @@ sudo: false language: cpp +compiler: clang +os: linux +dist: trusty matrix: include: - - os: linux - dist: trusty - sudo: true - compiler: g++ - before_install: - # C++17 - - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - - sudo apt-get update -qq - install: - # C++17 - - sudo apt-get install -qq g++-6 - - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90 - script: + - script: - cd build - cmake -DCMAKE_BUILD_TYPE=Debug .. - make -j - - os: linux - dist: trusty - compiler: clang - script: - - cd build - - cmake -DCMAKE_BUILD_TYPE=Debug .. - - make -j - - os: linux - dist: trusty - sudo: true - compiler: g++ - before_install: - # C++17 - - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - - sudo apt-get update -qq - install: - # C++17 - - sudo apt-get install -qq g++-6 - - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90 - script: - - cd build - - cmake -DCMAKE_BUILD_TYPE=Release .. - - make -j - - os: linux - dist: trusty - compiler: clang - script: + - script: - cd build - cmake -DCMAKE_BUILD_TYPE=Release .. - make -j