Unverified Commit 080776c4 authored by Jakub Sztandera's avatar Jakub Sztandera Committed by GitHub

Merge pull request #1 from ipfs/gomod

add gomod support // tag v0.0.1.
parents fb85b278 1abbdfe3
sudo: false
os:
- linux
language: go
go:
- 1.9
- 1.11.x
env:
global:
- GOTFLAGS="-race"
matrix:
- BUILD_DEPTYPE=gx
- BUILD_DEPTYPE=gomod
# disable travis install
install:
- go get github.com/whyrusleeping/gx
- go get github.com/whyrusleeping/gx-go
- true
script:
- make test
after_success:
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
cache:
directories:
- $GOPATH/src/gx
- $GOPATH/pkg/mod
- $HOME/.cache/go-build
notifications:
email: false
email: false
......@@ -53,7 +53,7 @@ func TestCorrectnessOfPop(t *testing.T) {
var priorities []int
for q.Len() > 0 {
i := q.Pop().(*TestElem).Priority
t.Log("popped %v", i)
t.Logf("popped %v", i)
priorities = append(priorities, i)
}
if !sort.IntsAreSorted(priorities) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment