.travis.yml: add OS X build, APT caching
This commit is contained in:
+10
@@ -1,3 +1,10 @@
|
|||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- apt
|
||||||
|
|
||||||
language: cpp
|
language: cpp
|
||||||
sudo: required
|
sudo: required
|
||||||
services: docker
|
services: docker
|
||||||
@@ -10,6 +17,9 @@ addons:
|
|||||||
- libutempter-dev
|
- libutempter-dev
|
||||||
|
|
||||||
before_install:
|
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
|
- git fetch --tags --unshallow
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|||||||
Reference in New Issue
Block a user