2017-04-05 19:21:01 +02:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
|
|
|
- 1.8
|
|
|
|
- tip
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
|
|
|
|
install:
|
|
|
|
- rm -rf $GOPATH/src/gopkg.in/src-d
|
|
|
|
- mkdir -p $GOPATH/src/gopkg.in/src-d
|
2017-06-08 09:27:27 +02:00
|
|
|
- ln -s $PWD $GOPATH/src/gopkg.in/src-d/enry.v1
|
|
|
|
- cd $GOPATH/src/gopkg.in/src-d/enry.v1
|
2017-04-05 19:21:01 +02:00
|
|
|
- go get -v -t ./...
|
|
|
|
|
|
|
|
script:
|
2017-06-27 10:42:46 +02:00
|
|
|
- make test-coverage
|
2017-06-21 10:45:27 +02:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2017-07-18 14:44:30 +02:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key: $GITHUB_TOKEN
|
|
|
|
file_glob: true
|
|
|
|
file: build/*.tar.gz
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|