Skip to content

Commit e4ba538

Browse files
committed
Fix package path in container
Use self directory name.
1 parent 34a6d18 commit e4ba538

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ test_i386_job: &test_i386_job
6868
-u $(id -u):$(id -g) \
6969
-e "GO111MODULE=on" \
7070
-e "CGO_ENABLED=0" \
71-
-v $PWD:/go/src/github.com/pion/webrtc \
72-
-v $HOME/gopath/pkg/mod:/go/pkg/mod \
73-
-v $HOME/.cache/go-build:/.cache/go-build \
74-
-w /go/src/github.com/pion/webrtc \
71+
-v ${PWD}:/go/src/github.com/pion/$(basename ${PWD}) \
72+
-v ${HOME}/gopath/pkg/mod:/go/pkg/mod \
73+
-v ${HOME}/.cache/go-build:/.cache/go-build \
74+
-w /go/src/github.com/pion/$(basename ${PWD}) \
7575
-it go-tester \
7676
/usr/local/go/bin/go test \
7777
-tags quic \

0 commit comments

Comments
 (0)