Skip to content

Commit

Permalink
Update travis file from linux_debug. Enable GCC Debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed Sep 29, 2018
1 parent 425ce0a commit 39f9f5c
Showing 1 changed file with 48 additions and 18 deletions.
66 changes: 48 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Based on https://github.com/ldionne/hana/blob/master/.travis.yml
dist: xenial
sudo: required
cache: ccache
Expand All @@ -11,26 +12,55 @@ language: cpp

os:
- linux
compiler:
- g++
env:
global:
- LANG="en_US.UTF-8"
matrix:
- TARGET_CPU=x64 BUILD_CONFIGURATION=Release
- TARGET_CPU=x86 BUILD_CONFIGURATION=Release

addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- g++-7

install: export CXX="g++-7"

matrix:
include:
- env: C_COMPILER=gcc-7 CXX_COMPILER=g++-7 TARGET_CPU=x64 BUILD_CONFIGURATION=Release
addons: &gcc7
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- g++-7

- env: C_COMPILER=gcc-7 CXX_COMPILER=g++-7 TARGET_CPU=x86 BUILD_CONFIGURATION=Release
addons: *gcc7

- env: C_COMPILER=gcc-7 CXX_COMPILER=g++-7 TARGET_CPU=x64 BUILD_CONFIGURATION=Debug
addons: *gcc7

- env: C_COMPILER=gcc-7 CXX_COMPILER=g++-7 TARGET_CPU=x86 BUILD_CONFIGURATION=Debug
addons: *gcc7

# - env: C_COMPILER=clang-5.0 CXX_COMPILER=clang++-5.0 TARGET_CPU=x64 BUILD_CONFIGURATION=Release
# addons: &clang50
# apt:
# sources:
# - llvm-toolchain-trusty-5.0
# packages:
# - clang-5.0

# - env: C_COMPILER=clang-5.0 CXX_COMPILER=clang++-5.0 TARGET_CPU=x84 BUILD_CONFIGURATION=Release
# addons: *clang50

# - env: C_COMPILER=clang-6.0 CXX_COMPILER=clang++-6.0 TARGET_CPU=x64 BUILD_CONFIGURATION=Release
# addons: &clang60
# apt:
# sources:
# - llvm-toolchain-trusty-6.0
# packages:
# - clang-6.0

# - env: C_COMPILER=clang-6.0 CXX_COMPILER=clang++-6.0 TARGET_CPU=x84 BUILD_CONFIGURATION=Release
# addons: *clang60


install:
- export CC=${C_COMPILER}
- export CXX=${CXX_COMPILER}
- ${CXX} --version

before_script:
- g++ --version
- export core_count=$(nproc || echo 4) && echo core_count = $core_count
- mkdir bin
- cd bin
Expand Down

0 comments on commit 39f9f5c

Please sign in to comment.