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
|
- ./cc-test-reporter before-build
|
||||||
script: ./run-linux-tests
|
script: ./run-linux-tests
|
||||||
after_script:
|
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:
|
addons:
|
||||||
mariadb: '10.0'
|
mariadb: '10.0'
|
@ -1,4 +1,4 @@
|
|||||||
# Gosora [](https://discord.gg/eyYvtTf)
|
# Gosora  [](https://discord.gg/eyYvtTf)
|
||||||
|
|
||||||
A super fast forum software written in Go. You can talk to us on our Discord chat!
|
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 {
|
} else if event.Op&fsnotify.Create == fsnotify.Create {
|
||||||
log.Println("new file:", event.Name)
|
log.Println("new file:", event.Name)
|
||||||
err = modifiedFileEvent(event.Name)
|
err = modifiedFileEvent(event.Name)
|
||||||
} // Travis is being stupid, does this fix it
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
common.LogError(err)
|
common.LogError(err)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
echo "Generating the dynamic code"
|
echo "Generating the dynamic code"
|
||||||
go generate
|
go generate
|
||||||
echo "Running tests"
|
echo "Running tests"
|
||||||
go test
|
go test -coverprofile=cover.out
|
||||||
|
Loading…
Reference in New Issue
Block a user