Removed dependencies from most of Travis configurations

This commit is contained in:
alexey.lysiuk 2017-04-18 10:49:11 +03:00
parent 60a802b6bf
commit 11e6cfc4c2

View file

@ -14,15 +14,13 @@ matrix:
- os: osx - os: osx
osx_image: xcode8.2 osx_image: xcode8.2
env: env:
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DFORCE_INTERNAL_ZLIB=YES -DFORCE_INTERNAL_JPEG=YES -DFORCE_INTERNAL_BZIP2=YES -DFORCE_INTERNAL_GME=YES" - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7"
- FMOD_LIBRARY=libfmodex.dylib
- os: linux - os: linux
compiler: gcc compiler: gcc
env: env:
- GCC_VERSION=5 - GCC_VERSION=5
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release" - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release"
- FMOD_LIBRARY=libfmodex64.so
addons: addons:
apt: apt:
sources: sources:
@ -30,19 +28,12 @@ matrix:
packages: packages:
- g++-5 - g++-5
- libsdl2-dev - libsdl2-dev
- libgme-dev
- libopenal-dev
- libmpg123-dev
- libsndfile-dev
- libfluidsynth-dev
- libgtk-3-dev
- os: linux - os: linux
compiler: gcc compiler: gcc
env: env:
- GCC_VERSION=6 - GCC_VERSION=6
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo -DDYN_FLUIDSYNTH=NO" - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo"
- FMOD_LIBRARY=libfmodex64.so
addons: addons:
apt: apt:
sources: sources:
@ -50,19 +41,12 @@ matrix:
packages: packages:
- g++-6 - g++-6
- libsdl2-dev - libsdl2-dev
- libgme-dev
- libopenal-dev
- libmpg123-dev
- libsndfile-dev
- libfluidsynth-dev
- libgtk-3-dev
- os: linux - os: linux
compiler: clang compiler: clang
env: env:
- CLANG_VERSION=3.9 - CLANG_VERSION=3.9
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Debug -DDYN_OPENAL=NO" - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Debug -DDYN_OPENAL=NO -DDYN_SNDFILE=NO -DDYN_MPG123=NO -DDYN_FLUIDSYNTH=NO"
- FMOD_LIBRARY=libfmodex64.so
addons: addons:
apt: apt:
sources: sources:
@ -80,21 +64,16 @@ matrix:
- libgtk-3-dev - libgtk-3-dev
before_install: before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install mpg123 libsndfile fluidsynth; fi
- if [ -n "$GCC_VERSION" ]; then export CC="gcc-${GCC_VERSION}" CXX="g++-${GCC_VERSION}"; fi - if [ -n "$GCC_VERSION" ]; then export CC="gcc-${GCC_VERSION}" CXX="g++-${GCC_VERSION}"; fi
- if [ -n "$CLANG_VERSION" ]; then export CC="clang-${CLANG_VERSION}" CXX="clang++-${CLANG_VERSION}"; fi - if [ -n "$CLANG_VERSION" ]; then export CC="clang-${CLANG_VERSION}" CXX="clang++-${CLANG_VERSION}"; fi
- $CC --version - $CC --version
- $CXX --version - $CXX --version
# Update dependencies here: https://github.com/coelckers/gzdoom/releases/tag/ci_deps
- export FMOD_FILENAME=fmod-4.44.64-${TRAVIS_OS_NAME}.tar.bz2
- curl -LO "https://github.com/coelckers/gzdoom/releases/download/ci_deps/${FMOD_FILENAME}"
- tar -xf "${FMOD_FILENAME}"
script: script:
- echo ${TRAVIS_BUILD_DIR} - echo ${TRAVIS_BUILD_DIR}
- mkdir build - mkdir build
- cd build - cd build
- cmake ${CMAKE_OPTIONS} -DFMOD_INCLUDE_DIR="${TRAVIS_BUILD_DIR}/fmod/inc" -DFMOD_LIBRARY="${TRAVIS_BUILD_DIR}/fmod/lib/${FMOD_LIBRARY}" .. - cmake ${CMAKE_OPTIONS} ..
- make -j2 - make -j2
notifications: notifications: