Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (21 sloc) 567 Bytes
language: go
services: mysql
before_script:
- mysql -e 'create database bouncer_test;'
- mysql bouncer_test < ./fixtures/schema.sql
- mysql bouncer_test < ./fixtures/data.sql
install: true
go:
- 1.11
script:
- |
set -e
echo > coverage.txt
for package in go-bouncer/{,mozlog,bouncer}; do
go test -v -covermode=atomic -coverprofile=profile.out "github.com/mozilla-services/${package}"
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
fi
done
after_success:
- bash <(curl -s https://codecov.io/bash)
You can’t perform that action at this time.