Skip to content

Commit a5d1168

Browse files
committed
use the gradle wrapper for appveyor builds and cache the dependencies
1 parent d7c3d83 commit a5d1168

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

appveyor.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
---
22
version: "{build}"
33

4-
init:
5-
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
6-
74
install:
8-
- cmd: choco install gradle
95
- cmd: git clone --depth 3 https://github.com/loc-rdc/bagit-conformance-suite.git
106

117
build_script:
12-
- cmd: gradle check --no-daemon
8+
- cmd: ./gradlew.bat check --no-daemon
139

1410
shallow_clone: true
1511

1612
cache:
17-
- C:\ProgramData\chocolatey\bin -> appveyor.yml
18-
- C:\ProgramData\chocolatey\lib -> appveyor.yml
13+
- '%USERPROFILE%\.gradle\caches'
1914

2015
notifications:
2116
- provider: Email

0 commit comments

Comments
 (0)