mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Activate Travis CI
This commit is contained in:
parent
c73a397da2
commit
721df536eb
13
.travis.yml
Normal file
13
.travis.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
language: go
|
||||||
|
|
||||||
|
go:
|
||||||
|
- 1.8
|
||||||
|
|
||||||
|
go_import_path: github.com/prometheus/tsdb
|
||||||
|
|
||||||
|
script:
|
||||||
|
- go test ./...
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"crypto/rand"
|
"crypto/rand"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/fabxc/tsdb/labels"
|
"github.com/prometheus/tsdb/labels"
|
||||||
)
|
)
|
||||||
|
|
||||||
func BenchmarkMapClone(b *testing.B) {
|
func BenchmarkMapClone(b *testing.B) {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package tsdbutil
|
||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/fabxc/tsdb"
|
"github.com/prometheus/tsdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BufferedSeriesIterator wraps an iterator with a look-back buffer.
|
// BufferedSeriesIterator wraps an iterator with a look-back buffer.
|
||||||
|
|
Loading…
Reference in a new issue