mirror of https://github.com/gin-gonic/gin.git
Merge branch 'master' into http-abort-err
This commit is contained in:
commit
01c93c111d
28
.travis.yml
28
.travis.yml
|
@ -18,34 +18,6 @@ matrix:
|
|||
env:
|
||||
- TESTTAGS=nomsgpack
|
||||
- go: master
|
||||
# Adding ppc64le jobs
|
||||
- go: 1.11.x
|
||||
arch: ppc64le
|
||||
env: GO111MODULE=on
|
||||
- go: 1.12.x
|
||||
arch: ppc64le
|
||||
env: GO111MODULE=on
|
||||
- go: 1.13.x
|
||||
arch: ppc64le
|
||||
- go: 1.13.x
|
||||
arch: ppc64le
|
||||
env:
|
||||
- TESTTAGS=nomsgpack
|
||||
- go: 1.14.x
|
||||
arch: ppc64le
|
||||
- go: 1.14.x
|
||||
arch: ppc64le
|
||||
env:
|
||||
- TESTTAGS=nomsgpack
|
||||
- go: 1.15.x
|
||||
arch: ppc64le
|
||||
- go: 1.15.x
|
||||
arch: ppc64le
|
||||
env:
|
||||
- TESTTAGS=nomsgpack
|
||||
- go: master
|
||||
arch: ppc64le
|
||||
|
||||
|
||||
git:
|
||||
depth: 10
|
||||
|
|
|
@ -14,6 +14,7 @@ import (
|
|||
"net/http"
|
||||
"net/http/httptest"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sync"
|
||||
"testing"
|
||||
"time"
|
||||
|
@ -146,7 +147,7 @@ func TestRunWithPort(t *testing.T) {
|
|||
func TestUnixSocket(t *testing.T) {
|
||||
router := New()
|
||||
|
||||
unixTestSocket := "/tmp/unix_unit_test"
|
||||
unixTestSocket := filepath.Join(os.TempDir(), "unix_unit_test")
|
||||
|
||||
defer os.Remove(unixTestSocket)
|
||||
|
||||
|
|
Loading…
Reference in New Issue