This repository has been archived by the owner on Jun 25, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #164 from gobuffalo/azure-pipelines
Add Azure Pipelines
- Loading branch information
Showing
8 changed files
with
247 additions
and
111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,59 @@ | ||
variables: | ||
GOBIN: "$(GOPATH)/bin" # Go binaries path | ||
GOPATH: "$(system.defaultWorkingDirectory)/gopath" # Go workspace path | ||
modulePath: "$(GOPATH)/src/github.com/$(build.repository.name)" # Path to the module"s code | ||
|
||
jobs: | ||
- job: Windows | ||
pool: | ||
vmImage: "vs2017-win2016" | ||
strategy: | ||
matrix: | ||
go 1.9: | ||
go_version: "1.9" | ||
go 1.10: | ||
go_version: "1.10" | ||
go 1.11 (on): | ||
go_version: "1.11" | ||
GO111MODULE: "on" | ||
go 1.11 (off): | ||
go_version: "1.11" | ||
GO111MODULE: "off" | ||
steps: | ||
- template: azure-tests.yml | ||
|
||
- job: macOS | ||
pool: | ||
vmImage: "macOS-10.13" | ||
strategy: | ||
matrix: | ||
go 1.9: | ||
go_version: "1.9" | ||
go 1.10: | ||
go_version: "1.10" | ||
go 1.11 (on): | ||
go_version: "1.11" | ||
GO111MODULE: "on" | ||
go 1.11 (off): | ||
go_version: "1.11" | ||
GO111MODULE: "off" | ||
steps: | ||
- template: azure-tests.yml | ||
|
||
- job: Linux | ||
pool: | ||
vmImage: "ubuntu-16.04" | ||
strategy: | ||
matrix: | ||
go 1.9: | ||
go_version: "1.9" | ||
go 1.10: | ||
go_version: "1.10" | ||
go 1.11 (on): | ||
go_version: "1.11" | ||
GO111MODULE: "on" | ||
go 1.11 (off): | ||
go_version: "1.11" | ||
GO111MODULE: "off" | ||
steps: | ||
- template: azure-tests.yml |
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,24 @@ | ||
steps: | ||
- task: GoTool@0 | ||
inputs: | ||
version: $(go_version) | ||
- task: Bash@3 | ||
inputs: | ||
targetType: inline | ||
script: | | ||
mkdir -p "$(GOBIN)" | ||
mkdir -p "$(GOPATH)/pkg" | ||
mkdir -p "$(modulePath)" | ||
shopt -s extglob | ||
mv !(gopath) "$(modulePath)" | ||
displayName: "Setup Go Workspace" | ||
- script: | | ||
go get -t -v ./... | ||
go test -race ./... | ||
go install -v ./packr | ||
cd v2 | ||
go get -t -v ./... | ||
go test -race ./... | ||
go install -v ./packr2 | ||
workingDirectory: "$(modulePath)" | ||
displayName: "Tests" |
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 |
---|---|---|
@@ -1,11 +1,15 @@ | ||
module github.com/gobuffalo/packr | ||
|
||
require ( | ||
github.com/gobuffalo/envy v1.6.12 | ||
github.com/gobuffalo/packd v0.0.0-20181212173646-eca3b8fd6687 | ||
github.com/gobuffalo/packr/v2 v2.0.0-rc.15 | ||
github.com/gobuffalo/envy v1.6.15 | ||
github.com/gobuffalo/packd v0.0.0-20190224160250-d04dd98aca5b | ||
github.com/gobuffalo/packr/v2 v2.0.1 | ||
github.com/pkg/errors v0.8.1 | ||
github.com/spf13/afero v1.2.0 // indirect | ||
github.com/spf13/cobra v0.0.3 | ||
github.com/stretchr/testify v1.3.0 | ||
golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc // indirect | ||
golang.org/x/net v0.0.0-20181220203305-927f97764cc3 // indirect | ||
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 | ||
golang.org/x/sys v0.0.0-20190116161447-11f53e031339 // indirect | ||
) |
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 |
---|---|---|
@@ -1,19 +1,18 @@ | ||
module github.com/gobuffalo/packr/v2 | ||
|
||
require ( | ||
github.com/gobuffalo/envy v1.6.13 | ||
github.com/gobuffalo/genny v0.0.0-20190131190646-008a76242145 | ||
github.com/gobuffalo/logger v0.0.0-20181127160119-5b956e21995c | ||
github.com/gobuffalo/packd v0.0.0-20181212173646-eca3b8fd6687 | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/gobuffalo/envy v1.6.15 | ||
github.com/gobuffalo/genny v0.0.0-20190219203444-c95082806342 | ||
github.com/gobuffalo/logger v0.0.0-20190224201004-be78ebfea0fa | ||
github.com/gobuffalo/packd v0.0.0-20190224160250-d04dd98aca5b | ||
github.com/karrick/godirwalk v1.7.8 | ||
github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2 | ||
github.com/markbates/safe v1.0.1 | ||
github.com/pkg/errors v0.8.1 | ||
github.com/rogpeppe/go-internal v1.1.0 | ||
github.com/rogpeppe/go-internal v1.2.2 | ||
github.com/sirupsen/logrus v1.3.0 | ||
github.com/spf13/cobra v0.0.3 | ||
github.com/stretchr/testify v1.3.0 | ||
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 | ||
golang.org/x/tools v0.0.0-20190206221403-44bcb96178d3 | ||
golang.org/x/tools v0.0.0-20190221204921-83362c3779f5 | ||
) |
Oops, something went wrong.