tartrazine/.travis.yml
Miguel Molina f53abe6bc2
travis configuration
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-08 18:02:01 +02:00

54 lines
1.0 KiB
YAML

language: go
sudo: required
go:
- 1.8
- tip
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
- mkdir -p $GOPATH/src/gopkg.in/src-d
- ln -s $PWD $GOPATH/src/gopkg.in/src-d/enry.v1
- cd $GOPATH/src/gopkg.in/src-d/enry.v1
- go get -v -t ./...
script:
- make test-coverage
after_success:
- bash <(curl -s https://codecov.io/bash)
before_deploy:
- make packages
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: build/*.tar.gz
skip_cleanup: true
on:
tags: true