mirror of
https://github.com/darlinghq/xcbuild.git
synced 2024-12-04 02:03:12 +00:00
cdfb6aebd8
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.
41 lines
787 B
YAML
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
|