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:
@ -14,10 +32,21 @@ matrix:
- libc6-i386
- libcurl4-openssl-dev:i386
- libpng12-dev:i386
- os: osx
compiler: clang
before_script:
- export CC=clang
- export CPLUS=clang++
script: cd main/source/linux && make
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