arachnys / cabot

Self-hosted, easily-deployable monitoring and alerts service - like a lightweight PagerDuty
MIT License
5.6k stars 592 forks source link

Use sudo to install pip package in Travis-CI #572

Closed JeanFred closed 7 years ago

JeanFred commented 7 years ago

This has started failing with variations on:

OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pytz-2017.2.dist-info'

Executing under sudo is hardly a solution, but a suggested workaround per https://github.com/travis-ci/travis-ci/issues/1705 (and we are doing it already to install tox)

codecov-io commented 7 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6a9eff8). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #572   +/-   ##
=========================================
  Coverage          ?   79.76%           
=========================================
  Files             ?       43           
  Lines             ?     2846           
  Branches          ?      174           
=========================================
  Hits              ?     2270           
  Misses            ?      517           
  Partials          ?       59

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6a9eff8...2db4290. Read the comment docs.