2018-05-06 15:45:27 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Run all tests inside a Docker container
|
|
|
|
#
|
|
|
|
|
|
|
|
set -euC
|
|
|
|
vimgodir=$(cd -P "$(dirname "$0")/.." > /dev/null && pwd)
|
|
|
|
cd "$vimgodir"
|
|
|
|
|
|
|
|
docker build --tag vim-go-test .
|
2019-06-03 14:58:18 +00:00
|
|
|
# seccomp=confined is required for dlv to run in a container, hence it's
|
|
|
|
# required for vim-go's debug tests.
|
2020-10-28 13:35:24 +00:00
|
|
|
docker run -e VIMS --rm --security-opt="seccomp=unconfined" vim-go-test
|
2018-05-06 15:45:27 +00:00
|
|
|
|
|
|
|
# vim:ts=2:sts=2:sw=2:et
|