xcbuild/.travis.yml
Grant Paul b6757670cc Use Ubuntu libpng package on Travis. Fixes #119.
Modify libpng usage to support libpng 1.2 and later.
2016-09-20 16:11:07 +07:00

44 lines
858 B
YAML

language: generic
script:
- make
- make test
sudo: false
matrix:
include:
- os: linux
dist: trusty
compiler: gcc4.8
sudo: required
env:
- CC=gcc-4.8
- CXX=g++-4.8
# Travis is so parallel it runs out of memory. Limit that.
- NINJA_JOBS=2
addons:
apt:
sources:
- george-edison55-precise-backports
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- pkg-config
- zlib1g-dev
- libpng-dev
- libxml2-dev
- ninja-build
- cmake
- cmake-data
- os: osx
osx_image: xcode7.2
compiler: clang
before_install:
- brew update
install:
- brew reinstall cmake
- brew reinstall ninja