xcbuild/.travis.yml
strager cdfb6aebd8 Explicitly install pkg-config on Linux for Travis (#59)
pkg-config is needed on Linux in order for CMake to detect
libxml2. Apparently, Travis has it installed by default, but
be explicit about our dependencies for further developers.
2016-05-26 15:52:12 -07:00

41 lines
787 B
YAML

language: generic
script:
- make
- make test
sudo: false
matrix:
include:
- os: linux
dist: trusty
compiler: gcc4.8
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
- 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