Skip to content
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.

Hotfix/travis #19

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
language: go
go:
- 1.3
- 1.4
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of mutexes I use atomic.Value in our test, this was not available in go1.3.

- release
- tip

script:
- go get github.com/kisielk/errcheck
- go get -t ./...

- go test -tags "skipexternal" -v -race ./...
- errcheck github.com/pressly/chainstore

2 changes: 1 addition & 1 deletion chainstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func TestAsyncChain(t *testing.T) {
assert.Nil(err) // no error because sync store took it fine

time.Sleep(time.Second * 1) // wait for async operation..
assert.NotEmpty(errored.Load())
assert.NotNil(errored.Load())
}

type testStore struct{}
Expand Down