2016-01-20 06:58:06 +03:00
|
|
|
language: cpp
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- compiler: gcc
|
|
|
|
os: linux
|
2016-01-21 08:08:21 +03:00
|
|
|
- compiler: clang
|
|
|
|
os: osx
|
2016-01-20 06:58:06 +03:00
|
|
|
|
2016-10-29 21:29:08 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- gcc-4.8
|
|
|
|
- g++-4.8
|
|
|
|
- clang
|
|
|
|
|
2016-01-20 06:58:06 +03:00
|
|
|
before_script:
|
2017-04-04 09:07:35 +03:00
|
|
|
- git clone --depth 1 https://github.com/bkaradzic/bx ../bx
|
|
|
|
- git clone --depth 1 https://github.com/bkaradzic/bimg ../bimg
|
2016-01-20 06:58:06 +03:00
|
|
|
|
|
|
|
script:
|
2016-10-29 21:29:08 +03:00
|
|
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then make build CXX="g++-4.8" CC="gcc-4.8"; fi
|
|
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then make build; fi
|
2016-01-20 06:58:06 +03:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2016-01-21 08:08:01 +03:00
|
|
|
osx_image: xcode7.3
|