1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-30 08:39:01 +01:00
gojekyll/.appveyor.yml

37 lines
827 B
YAML
Raw Normal View History

2017-07-06 13:28:44 +02:00
version: 0.0.1.{build}
2017-07-07 03:57:53 +02:00
clone_folder: C:\GOPATH\src\github.com\osteele\gojekyll
2017-07-06 13:28:44 +02:00
environment:
2017-07-07 03:57:53 +02:00
GOPATH: C:\GOPATH
2017-07-06 13:28:44 +02:00
2017-07-07 04:10:10 +02:00
cache:
- C:\mingw64 -> appveyor.yml
2017-07-06 13:28:44 +02:00
init:
2017-07-07 04:10:10 +02:00
- set PATH=C:\mingw64\bin;C:\go\bin;%GOPATH%;%PATH%
2017-07-07 04:15:35 +02:00
- go version
- go env
- set CC=gcc
- set CXX=g++
install:
2017-07-07 04:10:10 +02:00
- ps: |
# Install MinGW.
$url = "https://bintray.com/artifact/download/drewwells/generic/x86_64-5.1.0-release-win32-seh-rt_v4-rev0.7z"
$strFileName="C:\mingw64\bin\mingw32-make.exe"
If (Test-Path $strFileName){
Write-Host "Using cached mingw64"
}Else{
Write-Host "Fetching mingw64"
Invoke-WebRequest -UserAgent wget -Uri $url -OutFile ming32-64.7z
&7z x -oC:\ ming32-64.7z > $null
}
2017-07-06 13:57:01 +02:00
- go get -t ./...
2017-07-06 13:28:44 +02:00
- pip install Pygments
build_script:
2017-07-07 03:57:53 +02:00
- go test ./...
platform: x64