-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add appveyor builds for CLI, fix Windows filepath splitting (#361)
- Loading branch information
Showing
5 changed files
with
57 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
version: "{build}-{branch}" | ||
|
||
# Source Config | ||
|
||
clone_folder: c:\gopath\src\github.com\ubclaunchpad\inertia | ||
|
||
# Build host | ||
|
||
environment: | ||
GOPATH: c:\gopath | ||
DEPTESTBYPASS501: 1 | ||
GOVERSION: "1.10" | ||
|
||
init: | ||
- git config --global core.autocrlf input | ||
|
||
# Build | ||
|
||
install: | ||
# Install the specific Go version. | ||
- rmdir c:\go /s /q | ||
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi | ||
- msiexec /i go%GOVERSION%.windows-amd64.msi /q | ||
- set Path=c:\go\bin;c:\gopath\bin;%PATH% | ||
- go version | ||
- go env | ||
- go get -u github.com/golang/dep/cmd/dep | ||
- dep ensure | ||
|
||
deploy: false | ||
|
||
build_script: | ||
- ps: Write-Host "$env:APPVEYOR_REPO_BRANCH" | ||
- ps: Write-Host "$env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH" | ||
- ps: git checkout -q $env:APPVEYOR_REPO_BRANCH | ||
- git branch | ||
- go build | ||
|
||
test_script: | ||
- go test ./cfg -short --cover | ||
- go test ./client -short --cover | ||
- go test ./cmd -short --cover | ||
- go test ./common -short --cover | ||
- go test ./local -short --cover | ||
- go test ./provision -short --cover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters