Compile using gcc-5 on native ubuntu.

As dependencies prepared by kiwix-build are build using gcc-5
(kiwix/kiwix-build@7fc557d),
we need to also compile libzim using gcc-5.
This commit is contained in:
Matthieu Gautier 2017-12-04 11:06:44 +00:00
parent 281b136ea8
commit dee482b2dc
1 changed files with 18 additions and 6 deletions

View File

@ -2,12 +2,24 @@ language: cpp
dist: trusty dist: trusty
sudo: required sudo: required
cache: ccache cache: ccache
before_install:
- eval "${MATRIX_EVAL}"
- ${CXX} --version
install: travis/install_deps.sh install: travis/install_deps.sh
script: travis/compile.sh script: travis/compile.sh
env: env:
global:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
matrix:
- PLATFORM="native_static" - PLATFORM="native_static"
- PLATFORM="native_dyn" - PLATFORM="native_dyn"
- PLATFORM="win32_static" - PLATFORM="win32_static"
- PLATFORM="win32_dyn" - PLATFORM="win32_dyn"
- PLATFORM="android_arm" - PLATFORM="android_arm"
- PLATFORM="android_arm64" - PLATFORM="android_arm64"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5