Move Windows tests to Travis

This commit is contained in:
Ben Moss
2018-12-07 16:39:45 -05:00
committed by Ben Moss
parent 3fb464786f
commit 34b1b702dc
6 changed files with 27 additions and 38 deletions

14
test_windows.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
#
# Run CNI plugin tests.
#
set -e
source ./build_windows.sh
echo "Running tests"
PLUGINS=$(cat plugins/windows_only.txt | tr '\n' ' ')
GINKGO_FLAGS="-p -r --randomizeAllSpecs --randomizeSuites --failOnPending --progress pkg/hns $PLUGINS"
bash -c "cd ${GOPATH}/src/${REPO_PATH}; PATH='${GOROOT}/bin:$(pwd)/bin:${PATH}' ginkgo ${GINKGO_FLAGS}"