File tree 2 files changed +25
-23
lines changed
2 files changed +25
-23
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ language : go
2
+
3
+ go :
4
+ - 1.11.x
5
+
6
+ before_install :
7
+ - go get -t -v ./...
8
+ - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.10
9
+ - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
10
+
11
+ script :
12
+ - cd $GOPATH/src/github.com/arduino/arduino-cli
13
+ # Check the dependency, -skip-lock may be useful because the version are not fixed but depends
14
+ # from the branch master of the libraries so they change very often
15
+ - dep check
16
+ # Check if the code is formatted
17
+ - $(exit $(go fmt ./... | wc -l))
18
+ # Run linter
19
+ - golangci-lint run
20
+ # Build and test
21
+ - go build
22
+ - go test -timeout 20m -v -coverprofile=coverage.txt -covermode=atomic ./...
23
+
24
+ after_success :
25
+ - bash <(curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments