From 78bb39953bfd29f9eb3aabecec09bfbd76a52e67 Mon Sep 17 00:00:00 2001 From: Patrik Henningsson Date: Wed, 17 Aug 2016 08:43:12 +0200 Subject: [PATCH] Update Travis config --- .travis.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 89b96b03..6ada3cff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,20 @@ node_js: - 4 - 6 -before_install: -- sudo apt-get update -- sudo apt-get install graphviz +sudo: false + +os: + - linux + - osx + +addons: + apt: + packages: + - graphviz + +before install: + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install graphviz; fi script: - npm test