-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (24 loc) · 830 Bytes
/
.travis.yml
File metadata and controls
29 lines (24 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: go
go:
- 1.10.4
sudo: required
install:
- make bootstrap
- if [ "$TRAVIS_BUILD_DIR" != "$GOPATH/src/github.com/openebs/CITF" ]; then
mkdir -p $GOPATH/src/github.com/openebs/;
mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/openebs;
cd $GOPATH/src/github.com/openebs/CITF;
fi
- curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.9.4/bin/linux/amd64/kubectl
- sudo chmod +x ./kubectl
- sudo mv ./kubectl /usr/local/bin/
- curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.25.0/minikube-linux-amd64
- sudo chmod +x minikube
- sudo mv minikube /usr/local/bin/
script:
- make
- make gocyclo
- make test
- make integration-test
after_success:
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"