Skip to content

Commit

Permalink
Install graphviz on xcode7.3 and xcode8.3 travis builds (#318)
Browse files Browse the repository at this point in the history
Install graphviz on xcode7.3 and xcode8.3 travis builds
  • Loading branch information
nolanmar511 authored and aalexand committed Feb 9, 2018
1 parent 3a72dae commit 0e0e5b7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -2,8 +2,6 @@ language: go

go_import_path: github.com/google/pprof

env: SKIP_GRAPHVIZ=0

matrix:
include:
- os: linux
Expand Down Expand Up @@ -52,8 +50,8 @@ addons:

before_install:
- go get -u github.com/golang/lint/golint honnef.co/go/tools/cmd/...
- if (("$TRAVIS_OS_NAME" == "osx") && (!"$SKIP_GRAPHVIZ")); then brew update ; fi
- if (("$TRAVIS_OS_NAME" == "osx") && (!"$SKIP_GRAPHVIZ")); then brew install graphviz; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" && -z $SKIP_GRAPHVIZ ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" && -z $SKIP_GRAPHVIZ ]]; then brew install graphviz; fi

script:
- gofmtdiff=$(gofmt -s -d .) && if [ -n "$gofmtdiff" ]; then printf 'gofmt -s found:\n%s\n' "$gofmtdiff" && exit 1; fi
Expand Down

0 comments on commit 0e0e5b7

Please sign in to comment.