2018-12-27 13:11:15 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-12-27 13:25:10 -06:00
|
|
|
# This test checks that we can compile some code that depends on go-arg when using go 1.11
|
|
|
|
# with the new go module system active.
|
|
|
|
|
2018-12-27 13:11:15 -06:00
|
|
|
docker run \
|
|
|
|
--rm \
|
|
|
|
-v $(pwd)/some-program:/src \
|
|
|
|
-w /src \
|
|
|
|
golang:1.11 \
|
2018-12-27 13:17:24 -06:00
|
|
|
go build -o /dev/null
|