mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 05:56:14 +01:00
d77176912b
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
38 lines
663 B
YAML
38 lines
663 B
YAML
language: go
|
|
|
|
sudo: false
|
|
|
|
branches:
|
|
except:
|
|
- release
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- travis
|
|
|
|
go:
|
|
- 1.8
|
|
- 1.9
|
|
- tip
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
|
|
before_install:
|
|
- if [ -n "$GH_USER" ]; then git config --global github.user ${GH_USER}; fi;
|
|
- if [ -n "$GH_TOKEN" ]; then git config --global github.token ${GH_TOKEN}; fi;
|
|
- go get github.com/mattn/goveralls
|
|
|
|
before_script:
|
|
- make deps
|
|
|
|
script:
|
|
- make qa
|
|
|
|
after_failure:
|
|
- cat ./target/test/report.xml
|
|
|
|
after_success:
|
|
- if [ "$TRAVIS_GO_VERSION" = "1.8" ]; then $HOME/gopath/bin/goveralls -covermode=count -coverprofile=target/report/coverage.out -service=travis-ci; fi;
|