Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
120 lines (110 sloc) 3.01 KB
sudo: false
dist: trusty
language: c++
compiler:
- gcc
- clang
git:
depth: 1
submodules: false
env:
global:
- secure: "Zk3bAxnp4OHPMMZYOSoM2chuMZXomp7BFcT54/Ag6C8RCqtpqQ+E6yHRp861xdWSVo9uZ/uGmD1pwPiIUK8Vs80+OwhFVvtor2MGXyQKX1oFYBg0mo5Z3Xzy+OPa3e0YBbe6SSqdUzDE1hIa7OrU8GWciIMobWQS7XIBbWg3TFU="
# Temp solution https://github.com/travis-ci/travis-ci/issues/4681
matrix:
- TRAVIS_EMPTY_JOB_WORKAROUND=true
before_install:
- if [ "$COMPILER" = "g++-6" ]; then export CXX="g++-6" CC="gcc-6"; fi
- if [ "$COMPILER" = "clang++-3.8" ]; then export CXX="clang++-3.8" CC="clang-3.8"; fi
matrix:
#allow_failures:
# - compiler: clang
include:
# wotlk
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- zlib1g-dev
- libssl-dev
- libpcre3-dev
- libbz2-dev
- libmysqlclient-dev
- libmysql++-dev
- gcc-6
- g++-6
env: ASC_VERSION=WotLK COMPILER=g++-6
- os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- zlib1g-dev
- libssl-dev
- libpcre3-dev
- libbz2-dev
- libmysqlclient-dev
- libmysql++-dev
- gcc-6
- g++-6
- clang-3.8
- clang++-3.8
env: ASC_VERSION=WotLK COMPILER=clang++-3.8
# Cata
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- zlib1g-dev
- libssl-dev
- libpcre3-dev
- libbz2-dev
- libmysqlclient-dev
- libmysql++-dev
- gcc-6
- g++-6
env: ASC_VERSION=Cata COMPILER=g++-6
- os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- zlib1g-dev
- libssl-dev
- libpcre3-dev
- libbz2-dev
- libmysqlclient-dev
- libmysql++-dev
- gcc-6
- g++-6
- clang-3.8
- clang++-3.8
env: ASC_VERSION=Cata COMPILER=clang++-3.8
exclude:
- env: TRAVIS_EMPTY_JOB_WORKAROUND=true
install:
- mkdir ascemu_build
- cd ascemu_build
- cmake ../ -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_WARNINGS=0 -DBUILD_TOOLS=1 -DASCEMU_VERSION=${ASC_VERSION} -DWITH_EXPERIMENTAL_FILESYSTEM=1
before_script:
- ${CXX} --version
- ${CC} --version
- cmake --version
script:
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then
make CXX=$COMPILER -j 4;
fi
#after_script:
# - cat /home/travis/build/AscEmu/AscEmu/ascemu_build/cov-int/build-log.txt
# - echo "===================================================================================================="
# - cat /home/travis/build/AscEmu/AscEmu/ascemu_build/cov-int/scm_log.txt