|
@@ -5,7 +5,7 @@ git:
|
|
|
depth: 9999999
|
|
|
|
|
|
language: go
|
|
|
-go_import_path: gopkg.in/src-d/hercules.v9
|
|
|
+go_import_path: gopkg.in/src-d/hercules.v10
|
|
|
go:
|
|
|
- 1.10.x
|
|
|
- 1.11.x
|
|
@@ -19,10 +19,10 @@ cache:
|
|
|
- $HOME/gopath/src
|
|
|
before_cache:
|
|
|
- cd $HOME/gopath
|
|
|
- - mv $HOME/gopath/src/gopkg.in/src-d/hercules.v9/vendor $HOME/gopath/src/gopkg.in/src-d/.vendor
|
|
|
- - rm -rf $HOME/gopath/src/gopkg.in/src-d/hercules.v9
|
|
|
- - mkdir $HOME/gopath/src/gopkg.in/src-d/hercules.v9
|
|
|
- - mv $HOME/gopath/src/gopkg.in/src-d/.vendor $HOME/gopath/src/gopkg.in/src-d/hercules.v9/vendor
|
|
|
+ - mv $HOME/gopath/src/gopkg.in/src-d/hercules.v10/vendor $HOME/gopath/src/gopkg.in/src-d/.vendor
|
|
|
+ - rm -rf $HOME/gopath/src/gopkg.in/src-d/hercules.v10
|
|
|
+ - mkdir $HOME/gopath/src/gopkg.in/src-d/hercules.v10
|
|
|
+ - mv $HOME/gopath/src/gopkg.in/src-d/.vendor $HOME/gopath/src/gopkg.in/src-d/hercules.v10/vendor
|
|
|
|
|
|
matrix:
|
|
|
fast_finish: true
|
|
@@ -64,7 +64,7 @@ script:
|
|
|
- go vet -tags tensorflow ./...
|
|
|
- golint -set_exit_status $(go list ./... | grep -v /vendor/)
|
|
|
- flake8
|
|
|
- - go test -coverpkg=all -v -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v9/... && sed -i '/cmd\/hercules\|core.go/d' coverage.txt
|
|
|
+ - go test -coverpkg=all -v -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v10/... && sed -i '/cmd\/hercules\|core.go/d' coverage.txt
|
|
|
- # race checks increase the elapsed time by 10 minutes, we run them only in AppVeyor
|
|
|
- $GOPATH/bin/hercules version
|
|
|
- $GOPATH/bin/hercules --burndown --couples --devs --quiet --pb https://github.com/src-d/hercules > 1.pb
|
|
@@ -91,7 +91,7 @@ jobs:
|
|
|
os: osx
|
|
|
osx_image: xcode9.3
|
|
|
go: 1.11.x
|
|
|
- go_import_path: gopkg.in/src-d/hercules.v9
|
|
|
+ go_import_path: gopkg.in/src-d/hercules.v10
|
|
|
before_install:
|
|
|
- wget -O protoc.zip https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-osx-x86_64.zip
|
|
|
- unzip -d ~/.local protoc.zip && rm protoc.zip
|
|
@@ -113,7 +113,7 @@ jobs:
|
|
|
- stage: deploy
|
|
|
os: linux
|
|
|
go: 1.11.x
|
|
|
- go_import_path: gopkg.in/src-d/hercules.v9
|
|
|
+ go_import_path: gopkg.in/src-d/hercules.v10
|
|
|
before_install:
|
|
|
- wget -O protoc.zip https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-linux-x86_64.zip
|
|
|
- unzip -d ~/.local protoc.zip && rm protoc.zip
|