reduce git clone depth

pull/4106/head
Richard van der Hoff 2018-10-24 13:41:31 +01:00
parent 0f4fb537ce
commit ab96ee29c9
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,10 @@ language: python
# tell travis to cache ~/.cache/pip
cache: pip
# don't clone the whole repo history, one commit will do
git:
depth: 1
# only build branches we care about (PRs are built seperately)
branches:
only: