-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (46 loc) · 1.13 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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 -debug -o v2.exe compiler
gcc -Ithirdparty/microsoft_craziness -DUNICODE -D_UNICODE .v2.exe.c thirdparty/microsoft_craziness/microsoft_craziness.c -o v2.exe -lole32 -ladvapi32 -loleaut32
./v2.exe -o v3.exe compiler
fi
- |
if [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then
make
make test
fi