janekdb / scalacraft-domain

A collection of case classes covering commons domains
Apache License 2.0
0 stars 0 forks source link

Add COV code coverage #55

Open janekdb opened 8 years ago

janekdb commented 8 years ago

Add to .travis.yml

before_install:
  - pip install codecov
after_success:
  - codecov
janekdb commented 8 years ago

Reverted after seeing this error.

1.88s$ pip install codecov
You are using pip version 6.0.8, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting codecov
  Downloading codecov-1.6.3-py2.py3-none-any.whl
Collecting coverage (from codecov)
  Downloading coverage-4.0.3.tar.gz (354kB)
    100% |################################| 356kB 1.5MB/s 
Collecting requests>=2.0.0 (from codecov)
  Downloading requests-2.9.1-py2.py3-none-any.whl (501kB)
    100% |################################| 503kB 1.1MB/s 
Installing collected packages: requests, coverage, codecov
  Exception:
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/basecommand.py", line 232, in main
      status = self.run(options, args)
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/commands/install.py", line 347, in run
      root=options.root_path,
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/req/req_set.py", line 549, in install
      **kwargs
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/req/req_install.py", line 754, in install
      self.move_wheel_files(self.source_dir, root=root)
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/req/req_install.py", line 963, in move_wheel_files
      isolated=self.isolated,
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/wheel.py", line 234, in move_wheel_files
      clobber(source, lib_dir, True)
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/wheel.py", line 205, in clobber
      os.makedirs(destdir)
    File "/usr/lib/python2.7/os.py", line 157, in makedirs
      mkdir(name, mode)
  OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/requests'
The command "pip install codecov" failed and exited with 2 during .
Your build has been stopped.