2019-06-26 01:26:26 +02:00
|
|
|
language: c
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- gcc-5
|
|
|
|
- g++-5
|
|
|
|
- make
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode10.2
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="brew install glm freetype cjson glfw"
|
2019-06-25 06:55:44 +02:00
|
|
|
script:
|
2019-06-26 01:26:26 +02:00
|
|
|
- |
|
|
|
|
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
|
|
|
sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
|
|
|
|
fi
|
2019-06-25 06:55:44 +02:00
|
|
|
- export VROOT=$(pwd)
|
|
|
|
- cd ./compiler
|
2019-06-26 00:58:17 +02:00
|
|
|
- make
|
|
|
|
- make test
|