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:
|
2019-02-07 19:23:21 +03:00
|
|
|
- gcc-8
|
|
|
|
- g++-8
|
2016-10-29 21:29:08 +03:00
|
|
|
- clang
|
2019-08-04 00:55:24 +03:00
|
|
|
- libgl1-mesa-dev
|
|
|
|
- x11proto-core-dev
|
|
|
|
- libx11-dev
|
2016-10-29 21:29:08 +03:00
|
|
|
|
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:
|
2019-02-07 19:24:15 +03:00
|
|
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then make build CXX="g++-8" CC="gcc-8"; fi
|
2019-09-09 07:22:47 +03:00
|
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then make osx-debug64; fi
|
2016-01-20 06:58:06 +03:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2019-09-09 07:22:47 +03:00
|
|
|
osx_image: xcode10.3
|