github.com/cptmikhailov/conmon@v2.0.20+incompatible/contrib/cirrus/integration_test.sh (about)

     1  #!/bin/bash
     2  
     3  set -e
     4  source $(dirname $0)/lib.sh
     5  
     6  req_env_var "
     7  	CRIO_REPO $CRIO_REPO
     8  	CRIO_SLUG $CRIO_SLUG
     9  	CONMON_SLUG $CONMON_SLUG
    10  	CIRRUS_WORKING_DIR $CIRRUS_WORKING_DIR
    11  	GOPATH $GOPATH
    12  "
    13  
    14  dnf install -y make glib2-devel git gcc golang
    15  setup_gopath
    16  cd $CIRRUS_WORKING_DIR
    17  make
    18  make install PREFIX=/usr # currently, the conmon location is hardcoded to /usr/bin/conmon
    19  GOCACHE=/tmp/go-build make vendor
    20  make test