1
0
Fork 0
mirror of synced 2024-11-26 10:45:35 -05:00
ultimate-vim/sources_non_forked/vim-go/scripts/docker-test

16 lines
373 B
Text
Raw Normal View History

2017-11-24 08:59:41 -05: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 .
2018-12-17 06:28:27 -05:00
# seccomp=confined is required for dlv to run in a container, hence it's
# required for vim-go's debug tests.
docker run --rm --security-opt="seccomp=unconfined" vim-go-test
2017-11-24 08:59:41 -05:00
# vim:ts=2:sts=2:sw=2:et