Skip to content

Commit c97855a

Browse files
committed
Add .appveyor.yml
This follows the example from https://www.appveyor.com/docs/lang/ruby/ except that it doesn't need `install` or `before_test` steps. Inspired by bats-core/bats-core#8.
1 parent d4d6fc2 commit c97855a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.appveyor.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 'v1.6.0.{build}'
2+
3+
build: off
4+
5+
# This presumes that Git bash is installed at `C:\Program Files\Git` and the
6+
# bash we're using is from that installation.
7+
#
8+
# If instead it finds the Windows Subsystem for Linux bash at
9+
# `C:\Windows\System32\bash.exe`, it will fail with a errors containing:
10+
# syntax error near unexpected token `$'{\r''
11+
test_script:
12+
- where bash
13+
- bash --version
14+
- bash ./go test

0 commit comments

Comments
 (0)