File tree Expand file tree Collapse file tree 6 files changed +21
-68
lines changed Expand file tree Collapse file tree 6 files changed +21
-68
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,19 @@ sudo: required
2
2
language : go
3
3
4
4
go :
5
- - 1.9 .x
5
+ - 1.11 .x
6
6
7
7
services :
8
8
- docker
9
9
10
10
script :
11
+ - export GO111MODULE="on"
11
12
- go test -race -v github.com/seleniumkit/sctl/cmd -coverprofile=coverage.txt -covermode=atomic -coverpkg github.com/seleniumkit/sctl/cmd
12
13
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-X github.com/seleniumkit/sctl/cmd.buildStamp=`date -u '+%Y-%m-%d_%I:%M:%S%p'` -X github.com/seleniumkit/sctl/cmd.gitRevision=`git describe --tags || git rev-parse HEAD`"
13
14
- gox -os "linux darwin" -arch "amd64" -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags "-X main.buildStamp=`date -u '+%Y-%m-%d_%I:%M:%S%p'` -X main.gitRevision=`git describe --tags || git rev-parse HEAD`"
14
15
15
- before_install :
16
- - go get -u github.com/golang/dep/cmd/dep
17
-
18
16
install :
19
17
- go get -u github.com/mitchellh/gox # cross compile
20
- - dep ensure
21
18
22
19
deploy :
23
20
- provider : releases
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
This repository contains source code for simple Selenium quota management binary.
3
3
4
4
## Building
5
- We use [ dep ] ( https://github.com/golang/dep ) for dependencies management so ensure it's installed before proceeding with next steps. To build the code:
5
+ To build the code:
6
6
7
- 1 . Checkout this source tree: ``` $ git clone https://github.com/seleniumkit/sctl.git ```
8
- 2 . Download dependencies : ``` $ dep ensure ```
7
+ 1 . Ensure you have [ Golang ] ( http://golang.org/ ) 1.11 and above.
8
+ 2 . Checkout this source tree : ``` $ git clone https://github.com/seleniumkit/sctl.git ```
9
9
3 . Build as usually: ``` $ go build ```
10
10
11
11
## Running
Original file line number Diff line number Diff line change
1
+ module github.com/seleniumkit/sctl
2
+
3
+ require (
4
+ github.com/aandryashin/matchers v0.0.0-20161126170413-435295ea180e
5
+ github.com/inconshreveable/mousetrap v1.0.0 // indirect
6
+ github.com/spf13/cobra v0.0.0-20161014222036-856b96dcb49d
7
+ github.com/spf13/pflag v0.0.0-20161011120826-bf8481a6aebc // indirect
8
+ )
Original file line number Diff line number Diff line change
1
+ github.com/aandryashin/matchers v0.0.0-20161126170413-435295ea180e h1:ogUKYFNcdYUIBSLibE4+EjbTJazoHr5JsWWx21Lpn8c =
2
+ github.com/aandryashin/matchers v0.0.0-20161126170413-435295ea180e /go.mod h1:cbmYNkm9xeQlNoWEPtOUcvNok2gSD7ErMnYkRW+eHi8 =
3
+ github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM =
4
+ github.com/inconshreveable/mousetrap v1.0.0 /go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8 =
5
+ github.com/spf13/cobra v0.0.0-20161014222036-856b96dcb49d h1:3DcijoKnes3z4/+YyF/0relm9aJJ8ypfyHHz0OWz1Z8 =
6
+ github.com/spf13/cobra v0.0.0-20161014222036-856b96dcb49d /go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ =
7
+ github.com/spf13/pflag v0.0.0-20161011120826-bf8481a6aebc h1:WqY+0ieFwdU1nXJJPuhI6mqTo5mIUaPNM+xFvFK9RcA =
8
+ github.com/spf13/pflag v0.0.0-20161011120826-bf8481a6aebc /go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4 =
You can’t perform that action at this time.
0 commit comments