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

This commit is contained in:
nhmall
2019-11-06 17:25:45 +02:00
committed by Pasi Kallinen
parent c9bba80786
commit ee70762c69
+3 -2
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/ucrt/x86:$LIB
- export LIB=/c/Program\ Files\ \(x86\)/Windows\ Kits/10/lib/$WKITVER/um/x86:$LIB - export LIB=/c/Program\ Files\ \(x86\)/Windows\ Kits/10/lib/$WKITVER/um/x86:$LIB
# - export # - 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 ADD_CURSES=Y
- export PDCURSES_TOP=../../pdcurses - export PDCURSES_TOP=../../pdcurses
- cd src - cd src
@@ -91,7 +91,7 @@ matrix:
# install: choco install mingw # install: choco install mingw
env: HINTS=windows-mingw env: HINTS=windows-mingw
script: 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 ADD_CURSES=Y
- export PDCURSES_TOP=../../pdcurses - export PDCURSES_TOP=../../pdcurses
- cd src - cd src
@@ -110,3 +110,4 @@ notifications:
recipients: recipients:
# - devteam@nethack.org # - devteam@nethack.org