Skip to content

Commit 887596e

Browse files
author
Elliot Chance
authored
Adding Travis CI (#1)
1 parent 02f2ded commit 887596e

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: go
2+
3+
go:
4+
- 1.11.x
5+
- 1.12.x
6+
- master
7+
8+
script:
9+
- env GO111MODULE=on go test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🔃 github.com/elliotchance/orderedmap [![GoDoc](https://godoc.org/github.com/elliotchance/orderedmap?status.svg)](https://godoc.org/github.com/elliotchance/orderedmap)
1+
# 🔃 github.com/elliotchance/orderedmap [![GoDoc](https://godoc.org/github.com/elliotchance/orderedmap?status.svg)](https://godoc.org/github.com/elliotchance/orderedmap) [![Build Status](https://travis-ci.org/elliotchance/orderedmap.svg?branch=master)](https://travis-ci.org/elliotchance/orderedmap)
22

33
The `orderedmap` package provides a high performance ordered map in Go:
44

orderedmap_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func TestKeys(t *testing.T) {
224224

225225
assert.InDelta(t,
226226
4*res1.NsPerOp(), res4.NsPerOp(),
227-
2*float64(res1.NsPerOp()))
227+
float64(res4.NsPerOp()))
228228
})
229229
}
230230

@@ -272,7 +272,7 @@ func TestDelete(t *testing.T) {
272272

273273
assert.InDelta(t,
274274
4*res1.NsPerOp(), res4.NsPerOp(),
275-
2*float64(res1.NsPerOp()))
275+
float64(res4.NsPerOp()))
276276
})
277277
}
278278

0 commit comments

Comments
 (0)