summaryrefslogtreecommitdiff
path: root/test/compile_with_go111.sh
blob: e11daaf5f624dc5705a704f481ff91314278b2d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# 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.

docker run \
    --rm \
    -v $(pwd)/some-program:/src \
    -w /src \
    golang:1.11 \
    go build -o /dev/null