mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
663 B
39 lines
663 B
6 years ago
|
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;
|