34 lines
685 B
YAML
34 lines
685 B
YAML
os:
|
|
- linux
|
|
- osx
|
|
|
|
cache:
|
|
- apt
|
|
|
|
language: cpp
|
|
sudo: required
|
|
dist: trusty
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- protobuf-compiler
|
|
- libprotobuf-dev
|
|
- libutempter-dev
|
|
- tmux # test suite
|
|
- perl # test suite
|
|
|
|
before_install:
|
|
- if test "$TRAVIS_OS_NAME" = osx; then brew update; fi
|
|
- if test "$TRAVIS_OS_NAME" = osx; then brew install protobuf tmux; fi
|
|
- if test "$TRAVIS_OS_NAME" = osx; then brew outdated protobuf tmux || brew upgrade protobuf tmux; fi
|
|
- git fetch --tags --unshallow
|
|
|
|
script:
|
|
- ./autogen.sh
|
|
- ./configure --enable-compile-warnings=error --enable-examples
|
|
- make distcheck VERBOSE=1
|
|
|
|
notifications:
|
|
irc: "chat.freenode.net#mosh"
|