Merge pull request #2 from lpabon/travis

Travis support
This commit is contained in:
Saad Ali
2018-07-12 08:34:24 +03:00
committed by GitHub
2 changed files with 16 additions and 0 deletions

9
.travis.yml Normal file
View File

@@ -0,0 +1,9 @@
language: go
matrix:
include:
- go: 1.10.3
script:
- go fmt $(go list ./... | grep -v vendor) | wc -l | grep 0
- go vet $(go list ./... | grep -v vendor)
- go test $(go list ./... | grep -v vendor)

View File

@@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("vim-go")
}