summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-02-20 11:01:14 -0600
committerBrent Baude <bbaude@redhat.com>2020-02-22 09:43:19 -0600
commita64985c71bbb48652bef1d7a737ff5f7e1ec8fa9 (patch)
treeb9f2c90947ad19a1916e8cdd96542e59fd805f5f /contrib
parent822bf70e454126475e32034b3ce3c660752b99ad (diff)
downloadpodman-a64985c71bbb48652bef1d7a737ff5f7e1ec8fa9.tar.gz
podman-a64985c71bbb48652bef1d7a737ff5f7e1ec8fa9.tar.bz2
podman-a64985c71bbb48652bef1d7a737ff5f7e1ec8fa9.zip
enable ci on go binding tests
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/cirrus/integration_test.sh5
-rwxr-xr-xcontrib/cirrus/setup_environment.sh3
-rwxr-xr-xcontrib/cirrus/unit_test.sh1
3 files changed, 9 insertions, 0 deletions
diff --git a/contrib/cirrus/integration_test.sh b/contrib/cirrus/integration_test.sh
index e8f6c50d9..9fd79ab18 100755
--- a/contrib/cirrus/integration_test.sh
+++ b/contrib/cirrus/integration_test.sh
@@ -52,6 +52,11 @@ case "$SPECIALMODE" in
make test-binaries
make endpoint
;;
+ bindings)
+ make
+ make install PREFIX=/usr ETCDIR=/etc
+ cd pkg/bindings/test && ginkgo -r
+ ;;
none)
make
make install PREFIX=/usr ETCDIR=/etc
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh
index df510deef..edd793bb9 100755
--- a/contrib/cirrus/setup_environment.sh
+++ b/contrib/cirrus/setup_environment.sh
@@ -72,6 +72,9 @@ case "$SPECIALMODE" in
endpoint)
remove_packaged_podman_files
;;
+ bindings)
+ remove_packaged_podman_files
+ ;;
rootless)
# Only do this once, even if ROOTLESS_USER (somehow) changes
if ! grep -q 'ROOTLESS_USER' /etc/environment
diff --git a/contrib/cirrus/unit_test.sh b/contrib/cirrus/unit_test.sh
index c6c77d17e..2852c31ae 100755
--- a/contrib/cirrus/unit_test.sh
+++ b/contrib/cirrus/unit_test.sh
@@ -12,6 +12,7 @@ make localunit
case "$SPECIALMODE" in
in_podman) ;&
+ bindings) ;&
rootless) ;&
none)
make