tasks:
  tests:
    - tox -e flake8
    - tox -e isort
    - tox -e py2-tests
    - tox -e py3-tests
    - tox -e coverage
  after_success:
    - git pull origin master
    - git config --global user.name "semantic-release"
    - git config --global user.email "semantic-release@frigg"
    - pip3 install python-semantic-release
    - semantic-release publish


coverage:
  parser: python
  path: coverage.xml

tasks:
  tests:
    - tox -e flake8
    - tox -e isort
    - tox -e py2-tests
    - tox -e py3-tests
    - tox -e coverage
  after_success:
    - git fetch --unshallow
    - git config --global user.name "semantic-release"
    - git config --global user.email "semantic-release@frigg"
    - pip3 install python-semantic-release
    - semantic-release publish


coverage:
  parser: python
  path: coverage.xml

Change pull in after_success to git fetch --unshallow
chore: Change pull in after_success to git fetch --unshallow

This will retrieve the whole git history before trying to make a
release.
