1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/.travis.yml
Alexander Medvednikov 2291e9fcfe Revert "Windows Unicode support"
This reverts commit 8462e99bc5.
2019-07-24 00:24:34 +02:00

46 lines
978 B
YAML

language: c
matrix:
include:
- os: linux
dist: xenial
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
- make
- libglfw3
- libglfw3-dev
- libfreetype6-dev
- libcurl3-dev
- os: windows
language: sh
filter_secrets: false
- os: osx
osx_image: xcode10.2
addons:
homebrew:
packages:
- 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
- |
if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then
echo "Running make.bat..."
./make.bat
./v.exe -o v2.exe compiler
./v2.exe -o v3.exe compiler
fi
- |
if [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then
make
make test
fi