Added the build status to the README, people seem to like these badges, very fashionable.

This commit is contained in:
Azareal 2018-07-30 16:04:26 +10:00
parent 701d3f296b
commit 91bfd334cc
4 changed files with 5 additions and 4 deletions

View File

@ -22,6 +22,7 @@ before_script:
- ./cc-test-reporter before-build
script: ./run-linux-tests
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- ./cc-test-reporter format-coverage --input-type gocov cover.out
- ./cc-test-reporter upload-coverage
addons:
mariadb: '10.0'

View File

@ -1,4 +1,4 @@
# Gosora [![Azareal's Discord Chat](https://img.shields.io/badge/style-Invite-7289DA.svg?style=flat&label=Discord)](https://discord.gg/eyYvtTf)
# Gosora ![Build Status](https://travis-ci.org/Azareal/Gosora.svg?branch=master) [![Azareal's Discord Chat](https://img.shields.io/badge/style-Invite-7289DA.svg?style=flat&label=Discord)](https://discord.gg/eyYvtTf)
A super fast forum software written in Go. You can talk to us on our Discord chat!

View File

@ -323,7 +323,7 @@ func main() {
} else if event.Op&fsnotify.Create == fsnotify.Create {
log.Println("new file:", event.Name)
err = modifiedFileEvent(event.Name)
} // Travis is being stupid, does this fix it
}
if err != nil {
common.LogError(err)
}

View File

@ -1,4 +1,4 @@
echo "Generating the dynamic code"
go generate
echo "Running tests"
go test
go test -coverprofile=cover.out