add --depth 1 to git clone for travis windows test

This commit is contained in:
nhmall
2019-06-30 14:12:16 -04:00
parent d4ec664b4f
commit 7cccf2e4d8

View File

@@ -81,7 +81,7 @@ matrix:
- export LIB=/c/Program\ Files\ \(x86\)/Windows\ Kits/10/lib/$WKITVER/ucrt/x86:$LIB
- export LIB=/c/Program\ Files\ \(x86\)/Windows\ Kits/10/lib/$WKITVER/um/x86:$LIB
# - export
- git clone https://github.com/wmcbrine/PDCurses.git ../pdcurses
- git clone --depth 1 https://github.com/wmcbrine/PDCurses.git ../pdcurses
- export ADD_CURSES=Y
- export PDCURSES_TOP=../../pdcurses
- cd src
@@ -91,7 +91,7 @@ matrix:
# install: choco install mingw
env: HINTS=windows-mingw
script:
- git clone https://github.com/wmcbrine/PDCurses.git ../pdcurses
- git clone --depth 1 https://github.com/wmcbrine/PDCurses.git ../pdcurses
- export ADD_CURSES=Y
- export PDCURSES_TOP=../../pdcurses
- cd src
@@ -110,3 +110,4 @@ notifications:
recipients:
# - devteam@nethack.org