testing travis-ci #3

This commit is contained in:
Phuntsok Drak-pa 2018-05-03 11:55:53 +02:00
parent 877a1d1ebd
commit 0a2ea8d706

View File

@ -1,55 +1,30 @@
language: cpp language: cpp
os: linux
dist: trusty
matrix: matrix:
include: include:
- os: linux - env:
dist: trusty - CC=clang-5.0
compiler: clang CXX=clang++-5.0
env: BUILD_TYPE=Release
- CC=clang BIN_DIR=bin
- CXX=clang++ addons: &clang40
- BUILDTYPE=Release
- BINDIR=bin
- os: linux
dist: trusty
compiler: clang
env:
- CC=clang
- CXX=clang++
- BUILDTYPE=Debug
- BINDIR=debug
- os: linux
dist: trusty
compiler: gcc
addons: &gcc7
apt: apt:
packages:
- g++-5
- clang-5.0
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: - llvm-toolchain-trusty-5.0
- cmake3 - sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main'
- g++7 key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- gcc7 - env:
env: - CC=clang-5.0
- CC=gcc7 - CXX=clang++-5.0
- CXX=g++7 - BUILD_TYPE=Release
- BUILDTYPE=Release - BIN_DIR=bin
- BINDIR=bin addons: *clang40
- 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: script:
- cd build - cd build