github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/test/container/launch.sh (about)

     1  #!/bin/bash
     2  
     3  # Copyright (c) 2015-2021, NVIDIA CORPORATION.
     4  # SPDX-License-Identifier: Apache-2.0
     5  
     6  set -e
     7  set -x
     8  
     9  # Build ProxyFS and run tests
    10  cd $GOPATH/src/github.com/swiftstack/ProxyFS
    11  make ci
    12  # $COVERALLS_TOKEN must be configured in TravisCI
    13  if [ -n "$COVERALLS_TOKEN" ] && [ -n "$TRAVIS_BRANCH" ]; then
    14      GIT_BRANCH=$TRAVIS_BRANCH goveralls -coverprofile coverage.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN
    15  fi