Skip to content

Commit e7c7f85

Browse files
committedApr 9, 2016
[travis] Clang 3.8 for Qt5 buildss
1 parent 79e3e0e commit e7c7f85

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed
 

‎.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ matrix:
5454
# QT5 based build with Python 3 // using container based builds and prebuild binary dependencies in osgeo4travis
5555
- os: linux
5656
language: python # This lets us use newer python versions from virtualenv
57-
env: QT_VERSION=5
57+
env:
58+
- QT_VERSION=5
59+
- LLVM_VERSION=3.8
5860
sudo: false
5961
cache:
6062
apt: true
@@ -66,7 +68,7 @@ matrix:
6668
postgresql: "9.4"
6769
apt:
6870
sources:
69-
- llvm-toolchain-precise-3.6
71+
- llvm-toolchain-precise-3.8
7072
- ubuntu-toolchain-r-test
7173
- george-edison55-precise-backports # doxygen 1.8.3
7274
packages:
@@ -81,7 +83,7 @@ matrix:
8183
- txt2tags
8284
- xvfb
8385
- flip
84-
- clang-3.6
86+
- clang-3.8
8587
# OSX based build with QT4 and Python 2
8688
- os: osx
8789

‎ci/travis/linux/qt5/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
mkdir build
22
cd build
33

4-
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/clang++-3.6
5-
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/clang-3.6
4+
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/clang++-${LLVM_VERSION}
5+
ln -s ${HOME}/osgeo4travis/bin/ccache ${HOME}/osgeo4travis/bin/clang-${LLVM_VERSION}
66

77
ccache -s
88

9-
export CXX="clang++-3.6"
10-
export CC="clang-3.6"
9+
export CXX="clang++-${LLVM_VERSION}"
10+
export CC="clang-${LLVM_VERSION}"
1111
export PATH=${HOME}/osgeo4travis/bin:${PATH}
1212
export PYTHONPATH=${HOME}/osgeo4travis/lib/python3.3/site-packages/
1313

0 commit comments

Comments
 (0)
Please sign in to comment.