mirror of https://github.com/kiwix/libkiwix.git
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:
parent
281b136ea8
commit
dee482b2dc
12
.travis.yml
12
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue