Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #164 from gobuffalo/azure-pipelines
Browse files Browse the repository at this point in the history
Add Azure Pipelines
  • Loading branch information
markbates committed Feb 24, 2019
2 parents d93b0e1 + 5c2395d commit a13c03d
Show file tree
Hide file tree
Showing 8 changed files with 247 additions and 111 deletions.
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

59 changes: 59 additions & 0 deletions azure-pipelines.yml
@@ -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
24 changes: 24 additions & 0 deletions azure-tests.yml
@@ -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"
10 changes: 7 additions & 3 deletions go.mod
@@ -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
)
52 changes: 24 additions & 28 deletions go.sum

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions travis.sh

This file was deleted.

13 changes: 6 additions & 7 deletions v2/go.mod
@@ -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
)

0 comments on commit a13c03d

Please sign in to comment.