mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-19 17:14:18 +00:00
Test on Travis CI
This will allow us to test on macOS in the future.
This commit is contained in:
parent
93ac8a97b1
commit
e7d8c44bcc
17
.travis.yml
Normal file
17
.travis.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
language: c++
|
||||
sudo: false
|
||||
dist: trusty
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libfreetype6-dev
|
||||
- libsdl2-dev
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake ..
|
||||
- make everything
|
||||
env:
|
||||
global:
|
||||
- CFLAGS="-Wdeclaration-after-statement -Werror"
|
||||
- CXXFLAGS="-Werror"
|
|
@ -2,7 +2,8 @@ find_package(PkgConfig QUIET)
|
|||
pkg_check_modules(PC_FREETYPE freetype2)
|
||||
set_extra_dirs(FREETYPE freetype)
|
||||
|
||||
find_path(FREETYPE_INCLUDEDIR freetype/config/ftheader.h
|
||||
find_path(FREETYPE_INCLUDEDIR
|
||||
NAMES config/ftheader.h freetype/config/ftheader.h
|
||||
PATH_SUFFIXES freetype2
|
||||
HINTS ${PC_FREETYPE_INCLUDEDIR} ${PC_FREETYPE_INCLUDE_DIRS}
|
||||
PATHS ${EXTRA_FREETYPE_INCLUDEDIR}
|
||||
|
|
Loading…
Reference in a new issue