travis configuration

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
This commit is contained in:
Miguel Molina
2017-08-08 12:32:32 +02:00
parent d8fc4fe92f
commit f53abe6bc2
3 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,5 @@
language: go
sudo: required
go:
- 1.8
@ -7,6 +8,24 @@ go:
matrix:
allow_failures:
- go: tip
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/...
- sudo apt-get install maven
before_script:
- cd java
- make
script:
- make test
install:
- rm -rf $GOPATH/src/gopkg.in/src-d
@ -26,7 +45,7 @@ before_deploy:
deploy:
provider: releases
api_key: $GITHUB_TOKEN
api_key: $GITHUB_TOKEN
file_glob: true
file: build/*.tar.gz
skip_cleanup: true