Skip to content

Commit

Permalink
Merge pull request #83 from zhutik/fix_travis
Browse files Browse the repository at this point in the history
Update Travis CI config to use 1.12, 1.13, 1.14 golang versions
  • Loading branch information
zhutik committed Mar 22, 2020
2 parents 6d48173 + e675d58 commit 771fae8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ _testmain.go
.vscode

*.coverprofile
c.out
18 changes: 13 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sudo: false
install:
- source .default.env
- go get ./...
- go get github.com/golang/lint/golint
- go get golang.org/x/lint/golint
- go get github.com/kisielk/errcheck
- go get github.com/joho/godotenv

Expand All @@ -16,19 +16,27 @@ stages:
jobs:
include:
- stage: verification
go: "1.10"
go: "1.12"
script: make verification

- stage: verification
go: "1.11"
go: "1.13"
script: make verification

- stage: verification
go: "1.14"
script: make verification

- stage: test
go: "1.12"
script: make test

- stage: test
go: "1.10"
go: "1.13"
script: make test

- stage: test
go: "1.11"
go: "1.14"
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/zhutik/adyen-api-go

go 1.14

require (
github.com/google/go-querystring v1.0.0
github.com/joho/godotenv v1.3.0
Expand Down

0 comments on commit 771fae8

Please sign in to comment.