Skip to content

Commit

Permalink
Introduce AppVeyor for testing the build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed Nov 14, 2016
1 parent b22f01b commit cac7f7a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .buckjavaargs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError
-Xmx1g -XX:+HeapDumpOnOutOfMemoryError
9 changes: 9 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
shallow_clone: true
build: off
install:
- 'set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0'
- 'set PATH=%JAVA_HOME%;%PATH%'
- 'set RUBY_HOME=C:\Ruby22-x64\bin'
- 'set PATH=%RUBY_HOME%;%PATH%'
test_script:
- cmd: './go build'
3 changes: 2 additions & 1 deletion rake-tasks/buck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def output
proc.wait

if proc.exit_code != 0
raise "Buck build failed"
raise "Buck build failed with exit code: #{proc.exit_code}
stdout: #{proc.io.stdout.output}"
end

block.call(proc.io.stdout.output) if block
Expand Down

0 comments on commit cac7f7a

Please sign in to comment.