mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
28 lines
536 B
YAML
28 lines
536 B
YAML
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 freetype glfw"
|
|
script:
|
|
- |
|
|
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
|
sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
|
|
fi
|
|
- export VROOT=$(pwd)
|
|
- cd ./compiler
|
|
- make
|
|
- make test
|
|
|