1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-05-01 22:57:33 +02:00

feat: Add travis-ci config for Linux and OSX

This commit is contained in:
Sirius Bakke 2016-05-23 16:29:12 +02:00
parent 0f214dfa3e
commit 9e65099f1e
No known key found for this signature in database
GPG Key ID: 8B178E31C48CF176

36
.travis.yml Normal file
View File

@ -0,0 +1,36 @@
sudo: required
dist: trusty
language: c++
os:
- osx
- linux
compiler:
- gcc
- clang
addons:
apt:
packages:
- build-essential
- autoconf
- libxml2-dev
- libxslt1-dev
- qt5-default
matrix:
exclude:
- os: osx
compiler: gcc
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt5 && brew link --force qt5 ; fi
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./autogen.sh ; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh build_mac.sh ; fi