2017-04-05 17:21:01 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
|
|
|
- 1.8
|
|
|
|
- tip
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2017-08-08 10:32:32 +00:00
|
|
|
include:
|
|
|
|
- language: scala
|
|
|
|
jdk: oraclejdk8
|
|
|
|
|
|
|
|
install:
|
|
|
|
- GIMME_OUTPUT=$(gimme 1.8 | tee -a $HOME/.bashrc) && eval "$GIMME_OUTPUT"
|
|
|
|
- export GOPATH=$HOME/gopath
|
|
|
|
- mkdir -p $GOPATH/src/gopkg.in/src-d/enry.v1
|
|
|
|
- rsync -az ${TRAVIS_BUILD_DIR}/ $GOPATH/src/gopkg.in/src-d/enry.v1
|
|
|
|
- go get -v gopkg.in/src-d/enry.v1/...
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- cd java
|
|
|
|
- make
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make test
|
2017-04-05 17:21:01 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- rm -rf $GOPATH/src/gopkg.in/src-d
|
|
|
|
- mkdir -p $GOPATH/src/gopkg.in/src-d
|
2017-06-08 07:27:27 +00:00
|
|
|
- ln -s $PWD $GOPATH/src/gopkg.in/src-d/enry.v1
|
|
|
|
- cd $GOPATH/src/gopkg.in/src-d/enry.v1
|
2017-04-05 17:21:01 +00:00
|
|
|
- go get -v -t ./...
|
|
|
|
|
|
|
|
script:
|
2017-06-27 08:42:46 +00:00
|
|
|
- make test-coverage
|
2017-06-21 08:45:27 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2017-07-18 12:44:30 +00:00
|
|
|
|
2017-07-18 14:14:59 +00:00
|
|
|
before_deploy:
|
|
|
|
- make packages
|
|
|
|
|
2017-07-18 12:44:30 +00:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
2017-08-23 11:05:57 +00:00
|
|
|
api_key:
|
|
|
|
secure: $GITHUB_TOKEN
|
2017-07-18 12:44:30 +00:00
|
|
|
file_glob: true
|
|
|
|
file: build/*.tar.gz
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|