Update appveyor config
authorCameron Moore <moorereason@gmail.com>
Thu, 9 Mar 2017 05:33:02 +0000 (23:33 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 9 Mar 2017 08:31:22 +0000 (09:31 +0100)
Remove "image" setting as the "WMF 5" image is deprecated.

Fixes #3061, #3142

appveyor.yml

index cab6d9a24f07ce2d389a41a4d91ce247c0f3ee4a..d55058d450aa2c61fe4975e06c4627505321ff05 100644 (file)
@@ -1,27 +1,17 @@
-image: WMF 5
-clone_folder: c:\GOPATH\src\github.com\spf13\hugo
 init:
-- cmd: >-
-    set PATH=%PATH%;C:\MinGW\bin;C:\GOPATH\bin
+  - copy c:\MinGW\bin\mingw32-make.exe c:\MinGW\bin\make.exe
+  - set PATH=%PATH%;C:\MinGW\bin;%GOPATH%\bin
+  - go version
+  - go env
+
+# clones and cd's to path
+clone_folder: C:\GOPATH\src\github.com\spf13\hugo
 
-    copy c:\MinGW\bin\mingw32-make.exe c:\MinGW\bin\make.exe
-environment:
-  GOPATH: c:\GOPATH
 install:
-- cmd: >-
-    gem install asciidoctor
+  - gem install asciidoctor
+  - pip install docutils
 
-    pip install docutils
 build_script:
-- cmd: make vendor
-test_script:
-- cmd: >-
-    go version
-
-    go env
-
-    make hugo-race check
-
-    hugo -s docs/
-
-    hugo --renderToMemory -s docs/
+  - make hugo-race check
+  - hugo -s docs/
+  - hugo --renderToMemory -s docs/