diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-04-25 17:40:18 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-04-25 18:33:30 +0300 |
commit | 42043599ffca9658d47792a85c136cb2384e35ed (patch) | |
tree | 7aae7300cf1995e928509ce6de17a9f8ffda9002 /.travis.yml | |
parent | 8b9f84d815c3291915789d63ddf570cfed4f2fa2 (diff) | |
download | qtlocation-mapboxgl-42043599ffca9658d47792a85c136cb2384e35ed.tar.gz |
[build][Qt] Use Ubuntu Trusty for Qt5
Ships with a newer version of Qt5 (Qt 5.2.1) and
it is closer to what we are actually shipping to.
Unfortunately, ATM Trusty will require 'root' [1] and
won't that makes it significantly slower because it
will not use a container version of the build env.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml index d7d180e2f6..763852cb2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,3 @@ -sudo: false - git: submodules: false @@ -17,15 +15,12 @@ addons_shortcuts: 'libxxf86vm-dev', 'x11proto-xf86vidmode-dev', 'mesa-utils' ] addons_qt4: &qt4 apt: - sources: [ 'ubuntu-toolchain-r-test', 'ubuntu-sdk-team' ] - packages: [ 'gdb', 'g++-4.9', 'gcc-4.9', 'libllvm3.4', 'xutils-dev', - 'libxxf86vm-dev', 'x11proto-xf86vidmode-dev', 'mesa-utils', 'qt4-default' ] + sources: [ 'ubuntu-toolchain-r-test' ] + packages: [ 'gdb', 'g++-4.9', 'gcc-4.9', 'mesa-utils', 'qt4-default' ] addons_qt5: &qt5 apt: - sources: [ 'ubuntu-toolchain-r-test', 'ubuntu-sdk-team' ] - packages: [ 'gdb', 'g++-4.9', 'gcc-4.9', 'libllvm3.4', 'xutils-dev', - 'libxxf86vm-dev', 'x11proto-xf86vidmode-dev', 'mesa-utils', - 'qt5-default', 'libqt5opengl5-dev' ] + sources: [ 'ubuntu-toolchain-r-test' ] + packages: [ 'gdb', 'g++-4.9', 'gcc-4.9', 'mesa-utils', 'qt5-default', 'libqt5opengl5-dev' ] env: global: @@ -52,7 +47,9 @@ after_script: matrix: include: # Clang 3.5 - Release - Node - - language: node + - os: linux + sudo: false + language: node compiler: ": node4-clang35-release" env: BUILDTYPE=Release _CXX=clang++-3.5 _CC=clang-3.5 addons: *clang35 @@ -66,7 +63,9 @@ matrix: - ./platform/node/scripts/after_script.sh ${TRAVIS_JOB_NUMBER} ${TRAVIS_TAG:-} # GCC 4.9 - Debug - Coverage - - language: cpp + - 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 @@ -75,25 +74,33 @@ matrix: - ./platform/linux/scripts/coveralls.sh # GCC 4.9 - Release - - language: cpp + - os: linux + sudo: false + language: cpp compiler: ": linux-gcc49-release" env: BUILDTYPE=Release _CXX=g++-4.9 _CC=gcc-4.9 addons: *gcc49 # Clang 3.5 - Debug - - language: cpp + - os: linux + sudo: false + language: cpp compiler: ": linux-clang35-debug" env: BUILDTYPE=Debug _CXX=clang++-3.5 _CC=clang-3.5 addons: *clang35 # Clang 3.5 - Release - - language: cpp + - os: linux + sudo: false + language: cpp compiler: ": linux-clang35-release" env: BUILDTYPE=Release _CXX=clang++-3.5 _CC=clang-3.5 addons: *clang35 # Qt 4 - Release - - language: cpp + - os: linux + sudo: false + language: cpp compiler: ": linux-gcc49-release" env: FLAVOR=qt4 BUILDTYPE=Release _CXX=g++-4.9 _CC=gcc-4.9 addons: *qt4 @@ -101,7 +108,10 @@ matrix: - make qt-app test-qt # Qt 5 - Release - - language: cpp + - os: linux + sudo: required + dist: trusty + language: cpp compiler: ": linux-gcc49-release" env: FLAVOR=qt5 BUILDTYPE=Release _CXX=g++-4.9 _CC=gcc-4.9 addons: *qt5 |