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

34 lines
824 B
YAML
Raw Normal View History

2017-08-09 16:36:19 +02:00
language: c++
sudo: enabled
2017-08-09 17:23:39 +02:00
os: linux
dist: trusty
addons:
apt:
packages: &trusty_pocl_packages
2017-08-09 17:26:18 +02:00
- libboost-all-dev:i386
- libmysqlclient-dev:i386
2017-08-09 17:23:39 +02:00
sources: &trusty_pocl_sources
- ubuntu-toolchain-r-test
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
2017-08-09 17:24:55 +02:00
# Go to the Root directoryasdasd
2017-08-09 16:36:19 +02:00
- cd ..
2017-08-09 17:01:06 +02:00
# Build
2017-08-09 16:36:19 +02:00
script:
- mkdir build
- cd build
- ${DEPS_DIR}/cmake/bin/cmake .. && make