1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-09 12:17:45 +00:00
sapphire/.travis.yml

29 lines
758 B
YAML
Raw Normal View History

2017-08-09 16:36:19 +02:00
language: c++
sudo: enabled
before_install:
2017-08-09 17:23:02 +02:00
- sudo add-apt-repository universe
2017-08-09 16:36:19 +02:00
- sudo apt-get update -qq
2017-08-09 17:19:06 +02:00
- sudo apt-get install -y libboost-all-dev:i368 libmysqlclient-dev:i368
2017-08-09 16:36:19 +02:00
compiler:
- gcc
install:
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
- |
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
CMAKE_URL="http://www.cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz"
mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
export PATH=${DEPS_DIR}/cmake/bin:${PATH}
fi
# Go to the Root directory
- cd ..
# Build steps
script:
- mkdir build
- cd build
- ${DEPS_DIR}/cmake/bin/cmake .. && make