Skip to content

Commit

Permalink
chore: CI environment changes for gomodules
Browse files Browse the repository at this point in the history
  • Loading branch information
mroth committed May 24, 2019
1 parent 9c5145a commit c009c0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ branches:
clone_folder: c:\gopath\src\github.com\mroth\scmpuff

environment:
GOPATH: c:\gopath #TODO env matrix diff go versions?
GOPATH: c:\gopath
GO111MODULE: "on"
RUBY_VERSION: Ruby23-x64

cache:
Expand Down
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
sudo: false
language: go
go:
- 1.7
- 1.8
- 1.12

env:
- GO111MODULE=on

branches:
except:
Expand All @@ -15,10 +17,11 @@ addons:

install:
- bundle install --jobs 4 --retry 3 --path vendor/bundle
- script/build
- go mod download

script:
- go test ./...
- script/build
- bundle exec cucumber -s --tags=~@wip --tags=~@recent-git-only

before_cache:
Expand All @@ -27,3 +30,4 @@ before_cache:
cache:
directories:
- vendor/bundle
- $GOPATH/pkg/mod

0 comments on commit c009c0e

Please sign in to comment.