mangos/.travis.yml
Foereaper fce53c9d60 Add necessary pthread flag for clang
This should hopefully fix clang build
2015-03-29 22:44:55 +02:00

29 lines
526 B
YAML

language: cpp
# reduce clone time by only getting the latest commit and not the whole history (default for travis is 100)
git:
depth: 1
# only run travis on the master branch
branches:
only:
- release20
- develop21
# build on both Linux and OSX
os:
- linux
- osx
# build with both gcc and clang to ensure compatibility
compiler:
- gcc
- clang
script:
- test -d _build || mkdir _build
- test -d _install || mkdir _install
- cd _build
- cmake -DCMAKE_INSTALL_PREFIX=../_install ..
- make -j4