Added the build status to the README, people seem to like these badges, very fashionable.
This commit is contained in:
parent
701d3f296b
commit
91bfd334cc
@ -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'
|
@ -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!
|
||||
|
||||
|
2
main.go
2
main.go
@ -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)
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
echo "Generating the dynamic code"
|
||||
go generate
|
||||
echo "Running tests"
|
||||
go test
|
||||
go test -coverprofile=cover.out
|
||||
|
Loading…
Reference in New Issue
Block a user