2019-06-26 02:26:26 +03:00
|
|
|
language: c
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- gcc-5
|
|
|
|
- g++-5
|
|
|
|
- make
|
2019-06-26 22:05:10 +03:00
|
|
|
- libglfw3
|
|
|
|
- libglfw3-dev
|
|
|
|
- libfreetype6-dev
|
|
|
|
- libcurl3-dev
|
2019-06-26 02:26:26 +03:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode10.2
|
2019-06-26 22:14:31 +03:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- freetype
|
|
|
|
- glfw
|
|
|
|
#env:
|
|
|
|
# - MATRIX_EVAL="brew install freetype glfw"
|
2019-06-25 07:55:44 +03:00
|
|
|
script:
|
2019-06-26 02:26:26 +03: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 07:55:44 +03:00
|
|
|
- export VROOT=$(pwd)
|
|
|
|
- cd ./compiler
|
2019-06-26 01:58:17 +03:00
|
|
|
- make
|
|
|
|
- make test
|
2019-06-26 18:37:42 +03:00
|
|
|
|