tartrazine/.travis.yml

54 lines
1.0 KiB
YAML
Raw Normal View History

2017-04-05 17:21:01 +00:00
language: go
sudo: required
2017-04-05 17:21:01 +00:00
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
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
before_deploy:
- make packages
2017-07-18 12:44:30 +00:00
deploy:
provider: releases
api_key: $GITHUB_TOKEN
2017-07-18 12:44:30 +00:00
file_glob: true
file: build/*.tar.gz
skip_cleanup: true
on:
tags: true