1# jstest-gtk - A graphical joystick tester 2# Copyright (C) 2015 Ingo Ruhnke <grumbel@gmail.com> 3# 4# This program is free software: you can redistribute it and/or modify 5# it under the terms of the GNU General Public License as published by 6# the Free Software Foundation, either version 3 of the License, or 7# (at your option) any later version. 8# 9# This program is distributed in the hope that it will be useful, 10# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12# GNU General Public License for more details. 13# 14# You should have received a copy of the GNU General Public License 15# along with this program. If not, see <http://www.gnu.org/licenses/>. 16 17# Build file for https://travis-ci.org/ 18# 19# Configuration manual: 20# http://docs.travis-ci.com/user/build-configuration/ 21 22language: cpp 23dist: trusty 24sudo: required 25 26compiler: 27 - gcc 28 - clang 29 30matrix: 31 fast_finish: true 32 33before_install: 34 - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi 35 - if [ "$CXX" == "clang++" ]; then export CXX="clang++-5.0" CC="clang-5.0"; fi 36 37script: 38 - git clean -f 39 - mkdir build 40 - cd build 41 - cmake .. -DWARNINGS=ON -DWERROR=OFF 42 - make VERBOSE=1 43 44addons: 45 apt: 46 sources: 47 - ubuntu-toolchain-r-test 48 - llvm-toolchain-precise 49 packages: 50 - build-essential 51 - cmake 52 - clang-5.0 53 - g++-4.9 54 - libgtkmm-3.0-dev 55 - libsigc++-2.0-dev 56 57# EOF # 58