forked from kubeflow/katib
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
26 lines (26 loc) · 917 Bytes
/
.travis.yml
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
jobs:
include:
- name: "Go unit tests, gofmt, golint and coveralls"
language: go
go: "1.14.2"
go_import_path: github.com/kubeflow/katib
install:
- curl -L -O "https://github.com/kubernetes-sigs/kubebuilder/releases/download/v1.0.7/kubebuilder_1.0.7_linux_amd64.tar.gz"
- # extract the archive
- tar -zxvf kubebuilder_1.0.7_linux_amd64.tar.gz
- sudo mv kubebuilder_1.0.7_linux_amd64 /usr/local/kubebuilder
- export PATH=$PATH:/usr/local/kubebuilder/bin
# get coveralls.io support
- go get github.com/mattn/goveralls
script:
- make check
- make test
after_success:
- goveralls -coverprofile=coverage.out
- name: "Prettier frontend check"
language: node_js
node_js: "12.18.1"
install:
- npm install --global prettier@2.2.0
script:
- make prettier-check