diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-29 09:57:21 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-29 09:57:21 -0700 |
commit | c1ad3214858f6e8a852b2346ad69947b26e43172 (patch) | |
tree | d5fc6a4e05d3c20d2c0d0105939951faa8d3c761 /.travis.yml | |
parent | c86f558e9d608ac19ca5b26ea8f72e2dc43c07c0 (diff) | |
download | qtlocation-mapboxgl-c1ad3214858f6e8a852b2346ad69947b26e43172.tar.gz |
[linux] Build with GCC 5 (#4901)
* [linux] Build with GCC 5
* [build] -fabi-version=0 is the default for GCC 5
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml index b2e959f8e7..e4a5d8debe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,19 +8,19 @@ addons_shortcuts: sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ] packages: [ 'gdb', 'clang-3.5', 'libstdc++-4.9-dev', 'libstdc++6', 'libllvm3.4', 'xutils-dev', 'libxxf86vm-dev', 'x11proto-xf86vidmode-dev', 'mesa-utils' ] - addons_gcc49: &gcc49 + addons_gcc5: &gcc5 apt: sources: [ 'ubuntu-toolchain-r-test' ] - packages: [ 'gdb', 'g++-4.9', 'gcc-4.9', 'libllvm3.4', 'xutils-dev', + packages: [ 'gdb', 'g++-5', 'gcc-5', 'libllvm3.4', 'xutils-dev', 'libxxf86vm-dev', 'x11proto-xf86vidmode-dev', 'mesa-utils' ] addons_qt4: &qt4 apt: sources: [ 'ubuntu-toolchain-r-test' ] - packages: [ 'gdb', 'g++-4.9', 'gcc-4.9', 'mesa-utils', 'qt4-default' ] + packages: [ 'gdb', 'g++-5', 'gcc-5', 'mesa-utils', 'qt4-default' ] addons_qt5: &qt5 apt: sources: [ 'ubuntu-toolchain-r-test' ] - packages: [ 'gdb', 'g++-4.9', 'gcc-4.9', 'mesa-utils', 'qt5-default', 'libqt5opengl5-dev', 'qtdeclarative5-dev' ] + packages: [ 'gdb', 'g++-5', 'gcc-5', 'mesa-utils', 'qt5-default', 'libqt5opengl5-dev', 'qtdeclarative5-dev' ] env: global: @@ -62,24 +62,24 @@ matrix: - ccache --show-stats - ./platform/node/scripts/after_script.sh ${TRAVIS_JOB_NUMBER} ${TRAVIS_TAG:-} - # GCC 4.9 - Debug - Coverage + # GCC 5 - Debug - Coverage - os: linux sudo: false language: cpp - compiler: ": linux-gcc49-debug" - env: BUILDTYPE=Debug _CXX=g++-4.9 _CC=gcc-4.9 ENABLE_COVERAGE=1 - addons: *gcc49 + compiler: ": linux-gcc5-debug" + env: BUILDTYPE=Debug _CXX=g++-5 _CC=gcc-5 ENABLE_COVERAGE=1 + addons: *gcc5 after_script: - ccache --show-stats - ./platform/linux/scripts/coveralls.sh - # GCC 4.9 - Release + # GCC 5 - Release - os: linux sudo: false language: cpp - compiler: ": linux-gcc49-release" - env: BUILDTYPE=Release _CXX=g++-4.9 _CC=gcc-4.9 - addons: *gcc49 + compiler: ": linux-gcc5-release" + env: BUILDTYPE=Release _CXX=g++-5 _CC=gcc-5 + addons: *gcc5 # Clang 3.5 - Debug - os: linux @@ -101,8 +101,8 @@ matrix: - os: linux sudo: false language: cpp - compiler: ": linux-gcc49-release" - env: FLAVOR=qt4 BUILDTYPE=Release _CXX=g++-4.9 _CC=gcc-4.9 + compiler: ": linux-gcc5-release" + env: FLAVOR=qt4 BUILDTYPE=Release _CXX=g++-5 _CC=gcc-5 addons: *qt4 script: - make qt-app test-qt @@ -112,8 +112,8 @@ matrix: sudo: required dist: trusty language: cpp - compiler: ": linux-gcc49-release" - env: FLAVOR=qt5 BUILDTYPE=Release _CXX=g++-4.9 _CC=gcc-4.9 + compiler: ": linux-gcc5-release" + env: FLAVOR=qt5 BUILDTYPE=Release _CXX=g++-5 _CC=gcc-5 addons: *qt5 before_install: - sudo apt-get install -y qtpositioning5-dev |