a8fbd54e2b
- Force appveyor to use Visual Studio 2015
27 lines
No EOL
714 B
YAML
27 lines
No EOL
714 B
YAML
sudo: required
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
language: cpp
|
|
os: linux
|
|
compiler: gcc
|
|
|
|
before_install:
|
|
- sudo apt-get update --fix-missing
|
|
- sudo apt-get install build-essential zlib1g-dev libmysqlclient-dev liblua5.1-0-dev
|
|
- (cd /tmp && wget http://www.cmake.org/files/v3.3/cmake-3.3.2.tar.gz && tar zxf cmake-3.3.2.tar.gz)
|
|
- (cd /tmp/cmake-3.3.2 && cmake . && make && sudo make install) > /dev/null 2>&1
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get -qq update
|
|
- sudo apt-get -qq install g++-5
|
|
- export CXX="g++-5" CC="gcc-5"
|
|
- mkdir build
|
|
- cd build
|
|
|
|
script:
|
|
- cmake -D WITH_MYSQL=true -D WITH_LUA=true ../
|
|
- make
|
|
- sudo make install
|
|
- sudo make uninstall |