pvpgn-server/.travis.yml

40 lines
553 B
YAML
Raw Normal View History

sudo: required
2016-08-13 05:10:39 -06:00
dist: trusty
2014-07-16 04:38:07 -06:00
2014-07-02 13:47:46 -06:00
language: cpp
os: linux
compiler: gcc
2016-08-13 05:10:39 -06:00
branches:
only:
- master
- develop
2014-07-02 13:47:46 -06:00
2016-08-13 05:10:39 -06:00
addons:
apt:
sources:
2016-08-13 05:25:50 -06:00
- ubuntu-toolchain-r-test
2016-08-13 05:10:39 -06:00
packages:
- gcc-5
- g++-5
- zlib1g-dev
- build-essential
- libmysqlclient-dev
- liblua5.1-0-dev
- cmake
2016-08-13 05:33:59 -06:00
before_install:
- export CXX="g++-5" CC="gcc-5"
2016-08-13 05:10:39 -06:00
before_script:
2014-07-02 13:47:46 -06:00
- mkdir build
- cd build
2018-05-06 13:42:31 -06:00
- cmake -D WITH_MYSQL=true -D WITH_LUA=true ../
2016-08-13 05:10:39 -06:00
script:
- make
2018-05-06 13:42:31 -06:00
after_script:
2014-07-06 10:05:48 -06:00
- sudo make install
- sudo make uninstall