mangos/.travis.yml
2015-09-16 05:36:53 +03:00

36 lines
683 B
YAML

language: cpp
before_install:
- bash .travis.sh
# reduce clone time by only getting the latest commit and not the whole history (default for travis is 100)
git:
depth: 1
# send notifications to stack as well as email
notifications:
slack: getmangos:yRgNBSgRQVh8WdfGEbT08Hit
# only run travis on the master branch
branches:
only:
- release20
- develop21
# build on both Linux and OSX (finally)
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