setup travis-ci

This commit is contained in:
Antonio SJ Musumeci 2017-04-04 08:20:34 -04:00
parent 9486bc9b21
commit 9d799ffc9f

27
.travis.yml Normal file
View File

@ -0,0 +1,27 @@
language: cpp
matrix:
include:
- os: linux
compiler: gcc
- os: linux
compiler: clang
- os: osx
compiler: clang
addons:
apt:
packages:
- pkg-config
- debhelper
- libfuse-dev
- libattr1-dev
- python
before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap caskroom/cask; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install osxfuse; fi
script:
- make