pvpgn-server/.travis.yml
2016-08-13 04:33:59 -07:00

37 lines
576 B
YAML

sudo: required
dist: trusty
language: cpp
os: linux
compiler: gcc
branches:
only:
- master
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:george-edison55/cmake-3.x'
packages:
- gcc-5
- g++-5
- zlib1g-dev
- build-essential
- libmysqlclient-dev
- liblua5.1-0-dev
- cmake
before_install:
- export CXX="g++-5" CC="gcc-5"
before_script:
- mkdir build
- cd build
script:
- cmake -D WITH_MYSQL=true -D WITH_LUA=true ../
- make
- sudo make install
- sudo make uninstall