[LTP] [PATCH 1/1] travis: use various gcc and clang versions + using containers

Cyril Hrubis chrubis@suse.cz
Thu Jan 12 13:26:35 CET 2017


Hi!
> +        - os: linux
> +          compiler: clang
> +          addons:
> +              apt:
> +                  sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise']
> +                  packages: ['clang-3.9']
> +          env:
> +              - COMPILER=clang-3.9

Hmm, does this actually work? Looking at the log for this particular
build:

Setting environment variables from .travis.yml

$ export COMPILER=clang-3.9
$ export CC=clang

$ clang --version
clang version 3.4 (tags/RELEASE_34/final)

Shouldn't we set the compiler: to clang-3.9 as well, export
CC=clang-3.9 or something?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list