We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d9831 commit 41dbb76Copy full SHA for 41dbb76
.travis.yml
@@ -7,6 +7,11 @@ python:
7
install:
8
- pip install --upgrade pip setuptools wheel
9
- pip install tox-travis
10
+ # Travis by default only clones a 'shallow' repository with --depth=50.
11
+ # When building the distribution packages, we use git to determine the
12
+ # package version string (via setuptools_scm), hence we need to fetch
13
+ # the whole repo, and not just the last 50 commits.
14
+ - if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then git fetch --unshallow; fi
15
script: tox
16
after_success:
17
- pip wheel --no-deps -w dist .
0 commit comments