Skip to content

Commit

Permalink
Adding Travis CI (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Chance authored Nov 15, 2019
1 parent 02f2ded commit 887596e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: go

go:
- 1.11.x
- 1.12.x
- master

script:
- env GO111MODULE=on go test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 🔃 github.com/elliotchance/orderedmap [![GoDoc](https://godoc.org/github.com/elliotchance/orderedmap?status.svg)](https://godoc.org/github.com/elliotchance/orderedmap)
# 🔃 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)

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

Expand Down
4 changes: 2 additions & 2 deletions orderedmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func TestKeys(t *testing.T) {

assert.InDelta(t,
4*res1.NsPerOp(), res4.NsPerOp(),
2*float64(res1.NsPerOp()))
float64(res4.NsPerOp()))
})
}

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

assert.InDelta(t,
4*res1.NsPerOp(), res4.NsPerOp(),
2*float64(res1.NsPerOp()))
float64(res4.NsPerOp()))
})
}

Expand Down

0 comments on commit 887596e

Please sign in to comment.