Skip to content

Commit 6e627bd

Browse files
author
Andreas Fertig
committed
Using clang 6.0 and static linkage for deployment.
Use stable clang and LLVM and static linkage to make the resulting binary usable for other Linux environments.
1 parent e82cb3d commit 6e627bd

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.travis.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ matrix:
4040
- libclang-7-dev
4141
- zlib1g-dev
4242
ssh_known_hosts: cppinsights.io
43-
env: COMPILER='g++-8' COMPILER_CC='gcc-8' LLVM_CONFIG='/usr/bin/llvm-config-7' COVERAGE='No' DEPLOY='Yes' STATIC='No'
43+
env: COMPILER='g++-8' COMPILER_CC='gcc-8' LLVM_CONFIG='/usr/bin/llvm-config-7' COVERAGE='No' DEPLOY='No' STATIC='No'
4444

4545
# 3/ Linux Clang Coverage Builds
4646
- os: linux
@@ -57,6 +57,23 @@ matrix:
5757
- zlib1g-dev
5858
- lcov
5959
env: COMPILER='g++-7' COMPILER_CC='gcc-7' LLVM_CONFIG='/usr/bin/llvm-config-7' STATIC='No' COVERAGE='Yes'
60+
61+
# Clang 6.0 deployment
62+
- os: linux
63+
compiler: clang
64+
addons:
65+
apt:
66+
sources:
67+
- ubuntu-toolchain-r-test
68+
- llvm-toolchain-trusty-6.0
69+
packages:
70+
- clang-6.0
71+
- llvm-6.0-dev
72+
- libclang-6.0-dev
73+
- zlib1g-dev
74+
ssh_known_hosts: cppinsights.io
75+
env: COMPILER='clang++-6.0' COMPILER_CC='clang-6.0' LLVM_CONFIG='/usr/bin/llvm-config-6.0' COVERAGE='No' DEPLOY='Yes' STATIC='Yes'
76+
6077
install:
6178
- ${TRAVIS_BUILD_DIR}/scripts/travis_install.sh
6279

0 commit comments

Comments
 (0)