Skip to content

Commit

Permalink
Upload test report with github release
Browse files Browse the repository at this point in the history
  • Loading branch information
steven.chiu committed Mar 13, 2019
1 parent abbc33a commit ac89804
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
language: go
sudo: required
go:
- 1.11
- 1.11
install:
- go get github.com/gorilla/websocket
- go get github.com/gomodule/redigo/redis
script:
- go test
- mkdir reports
- go get -u github.com/jstemmer/go-junit-report
- go test -v ${PKG_LIST} 2>&1 | go-junit-report > reports/testcase.xml
- go test -coverprofile=cover.out && go tool cover -html=cover.out -o reports/coverage.html
before_script:
- docker-compose -f ci/docker-compose.yml up -d
- docker-compose -f ci/docker-compose.yml up -d
services:
- docker
- docker
deploy:
provider: releases
api_key:
secure: ET1YBzj+oCDch5XQYgvjvPDpFOcqxR2mJ7zpdGwXtkIpm93fRRCheoLJHcx2ndhsMiJE/eL5fxqFdncwQL576xTkHfjWOxUPWCGA+w6vy5ASY1RMFgu1BAkeLXxSiSa4Ioi2t/xZ8mUMHuTD5kPP4LHUyg135XIHYOtZiHMFcBor8oEMpWCi6krd05gA0SzTLKC6QV+7KDtL96LsZYzWwS7s8QiUKP+pw8s6vq8paDcagmGMbRn2KUNFl6tGxoAVSx6oJbGeLDo+7ieC+cm+9AO+uCVyUbFowTYA+G9BSy9aQTtem7BJsOQHK46JHG3V7yZDqtmVUs4fDhKp0xY0oQ5foOeEIWCiLMbjfto00x992U4Co5KSSWaftUXZxmiF3nugvMItXxEuRB64wCrQgLXT43oqUg06r92sWhUY4nIcuzxhUBKObH87qyaxAHu+WIi2Ed5FXV0G1iSPsGhT/JIeKjG5j036oQbHkdgUHNCR4YJfGYh0j9jg6AqeIlnUOZ6NXBRmpaGcJZCpyEqlUG2W+gQXx6KHAa9YRVywEXeoC+DGVhlM8hORARqDUhEyHzaaxvQMkyCLNZtL6ak7AVN5caLw2YgdAOyjr6sxHX2Mat7CxAVPtuHdK7L5d8hEXczJrrqZ2tEXSnD00k2ImSCHbkfLi3nW8fZjfAHDHY0=
file_glob: true
file: 'report/*'
skip_cleanup: true
on:
repo: stevenchiu7311/melody

0 comments on commit ac89804

Please sign in to comment.