mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
add travis ci file
This commit is contained in:
parent
16b12cad69
commit
b98b78ffd1
1 changed files with 136 additions and 0 deletions
136
.travis.yml
Normal file
136
.travis.yml
Normal file
|
@ -0,0 +1,136 @@
|
|||
language: c
|
||||
sudo: required
|
||||
dist: trusty
|
||||
#compiler:
|
||||
#- clang
|
||||
matrix:
|
||||
include:
|
||||
# works on Precise and Trusty
|
||||
- os: linux
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-4.9
|
||||
- cmake-data
|
||||
- cmake
|
||||
- libglib2.0-0
|
||||
env:
|
||||
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
|
||||
|
||||
# works on Precise and Trusty
|
||||
- os: linux
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-5
|
||||
- cmake-data
|
||||
- cmake
|
||||
- libglib2.0-0
|
||||
env:
|
||||
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
|
||||
|
||||
# works on Precise and Trusty
|
||||
- os: linux
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-6
|
||||
- cmake-data
|
||||
- cmake
|
||||
- libglib2.0-0
|
||||
env:
|
||||
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
|
||||
|
||||
# works on Precise and Trusty
|
||||
- os: linux
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
- llvm-toolchain-precise-3.8
|
||||
- george-edison55-precise-backports
|
||||
packages:
|
||||
- clang-3.8
|
||||
- cmake-data
|
||||
- cmake
|
||||
- libglib2.0-0
|
||||
env:
|
||||
- MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
|
||||
|
||||
# works on Trusty
|
||||
- os: linux
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-trusty-3.9
|
||||
- george-edison55-precise-backports
|
||||
packages:
|
||||
- clang-3.9
|
||||
- cmake-data
|
||||
- cmake
|
||||
- libglib2.0-0
|
||||
env:
|
||||
- MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"
|
||||
|
||||
# works on Trusty
|
||||
- os: linux
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-trusty-4.0
|
||||
- george-edison55-precise-backports
|
||||
packages:
|
||||
- clang-4.0
|
||||
- cmake-data
|
||||
- cmake
|
||||
- libglib2.0-0
|
||||
env:
|
||||
- MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
|
||||
|
||||
## works on Trusty
|
||||
#- os: linux
|
||||
#addons:
|
||||
#apt:
|
||||
#sources:
|
||||
#- llvm-toolchain-trusty
|
||||
#- george-edison55-precise-backports
|
||||
#packages:
|
||||
#- clang-5.0
|
||||
#- cmake-data
|
||||
#- cmake
|
||||
#- libglib2.0-0
|
||||
#env:
|
||||
#- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
|
||||
|
||||
allow_failures:
|
||||
- os: osx
|
||||
osx_image: xcode8
|
||||
env:
|
||||
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
|
||||
|
||||
- os: osx
|
||||
osx_image: xcode8
|
||||
env:
|
||||
- MATRIX_EVAL="brew install gcc5 && CC=gcc-5 && CXX=g++-5"
|
||||
|
||||
- os: osx
|
||||
osx_image: xcode8
|
||||
env:
|
||||
- MATRIX_EVAL="brew install gcc && CC=gcc-6 && CXX=g++-6"
|
||||
|
||||
before_install:
|
||||
- eval "${MATRIX_EVAL}"
|
||||
|
||||
before_script:
|
||||
- cd fluidsynth
|
||||
- mkdir build && cd build
|
||||
|
||||
script:
|
||||
- cmake "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ..
|
||||
- make -j4
|
Loading…
Reference in a new issue