Skip to content

Commit f5d74e8

Browse files
authored
Setup TravisCI and codecov.io (#1)
1 parent 3b2338e commit f5d74e8

File tree

3 files changed

+21
-83
lines changed

3 files changed

+21
-83
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: go
2+
3+
go:
4+
- "1.10.x"
5+
- master
6+
7+
before_install:
8+
- go get -t -v ./...
9+
10+
install:
11+
- go get -d -v ./...
12+
13+
script:
14+
- go test -v -coverprofile=coverage.txt -covermode=atomic ./...
15+
16+
after_success:
17+
- bash <(curl -s https://codecov.io/bash)

Jenkinsfile

Lines changed: 0 additions & 78 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# kdtree
22

3-
[![GoDoc](https://godoc.org/github.com/Kyroy/kdtree?status.svg)](https://godoc.org/github.com/Kyroy/kdtree)
4-
[![Build Status](https://jenkins.kyroy.com/job/github.com-kyroy/job/kdtree/job/master/badge/icon)](https://jenkins.kyroy.com/job/github.com-kyroy/job/kdtree/job/master/)
5-
[![Jenkins tests](https://img.shields.io/jenkins/t/https/jenkins.kyroy.com/job/github.com-kyroy/job/kdtree/job/master.svg)](https://jenkins.kyroy.com/job/github.com-kyroy/job/kdtree/job/master/)
6-
[![Jenkins coverage](https://img.shields.io/jenkins/c/https/jenkins.kyroy.com/job/github.com-kyroy/job/kdtree/job/master.svg)](https://jenkins.kyroy.com/job/github.com-kyroy/job/kdtree/job/master/)
3+
[![GoDoc](https://godoc.org/github.com/kyroy/kdtree?status.svg)](https://godoc.org/github.com/kyroy/kdtree)
4+
[![Build Status](https://travis-ci.org/kyroy/kdtree.svg?branch=master)](https://travis-ci.org/kyroy/kdtree)
5+
[![Codecov](https://img.shields.io/codecov/c/github/kyroy/kdtree.svg)](https://codecov.io/gh/kyroy/kdtree)
76
[![Go Report Card](https://goreportcard.com/badge/github.com/kyroy/kdtree)](https://goreportcard.com/report/github.com/kyroy/kdtree)
8-
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/Kyroy/kdtree/blob/master/LICENSE)
7+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/kyroy/kdtree/blob/master/LICENSE)
98

109
A [k-d tree](https://en.wikipedia.org/wiki/K-d_tree) implementation in Go with:
1110
- n-dimensional points

0 commit comments

Comments
 (0)