diff --git a/.travis.yml b/.travis.yml index 4f143a7..8f43203 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,9 +12,7 @@ go: - 1.6.2 - master -env: - global: - - PIP_FLAGS="--user" +env: PIP_INSTALL="pip install --user" matrix: allow_failures: @@ -22,7 +20,7 @@ matrix: include: - go: 1.6.2 os: osx - env: PIP_FLAGS="" + env: PIP_INSTALL="sudo pip install" - go: 1.1.2 install: go get -v . before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION @@ -32,7 +30,7 @@ matrix: before_script: - go get github.com/urfave/gfmxr/... -- pip install $PIP_FLAGS flake8 +- $PIP_INSTALL flake8 - mkdir -p .extracted-examples - curl -sSL -o .extracted-examples/README.md 'https://raw.githubusercontent.com/urfave/cli/v1/README.md'