influxdb/releng/unit-tests/fs/usr/local/bin/influxdb_prebuild_tests.bash

8 lines
224 B
Bash
Executable File

#!/bin/bash
# Extract tarball into GOPATH.
tar xz -C "$GOPATH" -f /influxdb-src.tar.gz
cd "$GOPATH/src/github.com/influxdata/influxdb"
go test -v ./... 2>&1 | tee /out/tests.log | go-junit-report > /out/influxdb.junit.xml