handles #61 by explicit defining distros for travis ci, and adds mesa-common-dev package to resolve xenial build failing

This commit is contained in:
Brett Caswell 2020-07-04 13:02:04 -05:00
parent 0bb253cf56
commit 51825872ca

View file

@ -3,7 +3,25 @@ language: cpp
matrix:
include:
- os: linux
dist: xenial
compiler: gcc
name: "Ubuntu xenial"
script: cd main/source/linux && make
env: OPJ_CI_ARCH=i386
addons:
apt:
packages:
- gcc-multilib
- g++-multilib
- libc6-i386
- mesa-common-dev
- libcurl4-openssl-dev:i386
- libpng12-dev:i386
- os: linux
dist: trusty
compiler: gcc
name: "Ubuntu trusty"
script: cd main/source/linux && make
env: OPJ_CI_ARCH=i386
addons:
@ -15,9 +33,20 @@ matrix:
- libcurl4-openssl-dev:i386
- libpng12-dev:i386
- os: osx
compiler: clang
before_script:
- export CC=clang
- export CPLUS=clang++
allow_failures:
- os: linux
dist: bionic
compiler: gcc
name: "Ubuntu bionic"
script: cd main/source/linux && make
env: OPJ_CI_ARCH=i386
addons:
apt:
packages:
- gcc-multilib
- g++-multilib
- libc6-i386
- mesa-common-dev
- libcurl4-openssl-dev
- libpng-dev