Skip to content

Instantly share code, notes, and snippets.

View ReanGD's full-sized avatar
:octocat:

ReanGD ReanGD

:octocat:
View GitHub Profile
/*
* Copyright 2019-2020 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@ReanGD
ReanGD / go.test.sh
Created June 12, 2016 22:28
Travis go test
#!/usr/bin/env bash
set -e
# We truncate the whole file because we are going to put new coverage data into
# it. Note that using "echo '' > file" would cause new lines which some
# coverage uploader do not like.
> coverage.txt
for d in $(find ./* -maxdepth 10 -type f -name '*test.go' -not -path "./.git/*" -exec dirname {} \; | sort -u); do