X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=.travis.yml;h=8f8a3586bf7666baf9bc9344657dd16f89ea50c6;hb=7b38a6fe5b8ef7bdd7b4064c560f6f39b848a73f;hp=465a8f2173f3ca88e6b9ae4f302503921de07c1f;hpb=00a0f2c07ed546ee20a07da043c7b058377fb6f2;p=netdata.git diff --git a/.travis.yml b/.travis.yml index 465a8f21..8f8a3586 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ dist: precise # # C includes autotools and make by default language: c +os: + - linux + - osx compiler: - gcc - clang @@ -17,7 +20,10 @@ addons: # # Setup environment before_install: + - eval "$(ssh-agent -s)" - ./.travis/decrypt-if-have-key decb6f6387c4 + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gpg fakeroot ossp-uuid xz; fi # # Run before_script: @@ -45,6 +51,6 @@ deploy: file_glob: true file: "netdata*.tar.*" on: - condition: $CC = gcc + condition: $CC = gcc && $TRAVIS_OS_NAME repo: firehol/netdata tags: true