From 877a1d1ebd8f44791c720f7056663f809d171a9c Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Thu, 3 May 2018 11:42:10 +0200 Subject: [PATCH] testing travis-ci #2 --- .travis.yml | 64 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 47 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index c2730d6..d2da544 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,55 @@ language: cpp -compiler: gcc -dist: trusty matrix: include: - - env: - - BUILD=Debug - - BINDIR=debug - - env: - - BUILD=Release + - os: linux + dist: trusty + compiler: clang + env: + - CC=clang + - CXX=clang++ + - BUILDTYPE=Release - BINDIR=bin - -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 + - os: linux + dist: trusty + compiler: clang + env: + - CC=clang + - CXX=clang++ + - BUILDTYPE=Debug + - BINDIR=debug + - os: linux + dist: trusty + compiler: gcc + addons: &gcc7 + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - cmake3 + - g++7 + - gcc7 + env: + - CC=gcc7 + - CXX=g++7 + - BUILDTYPE=Release + - BINDIR=bin + - os: linux + dist: trusty + compiler: gcc + addons: &gcc7 + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - cmake3 + - g++7 + - gcc7 + env: + - CC=gcc7 + - CXX=g++7 + - BUILDTYPE=Debug + - BINDIR=debug script: - cd build