mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 14:43:05 -03:00
refactoring: remove un-used code, add go doc, fix ci (#199)
Refactoring, consisting of - remove unused method `isAuxiliaryLanguage` and `FileCountList` in order to reduce public API surfaces (go/java) - add GoDoc to public APIs - ci: java profile use latest go src It also now mimics https://docs.travis-ci.com/user/languages/go/#go-import-path for non-go build image, as code relies on internal imports. TEST PLAN: - make test
This commit is contained in:
10
.travis.yml
10
.travis.yml
@ -45,11 +45,19 @@ jobs:
|
||||
stage: test
|
||||
language: scala
|
||||
jdk: oraclejdk8
|
||||
before_install:
|
||||
# mimics exact behavior of 'go_import_path' for non-go build image
|
||||
- export GOPATH=${TRAVIS_HOME}/gopath
|
||||
- mkdir -p ${GOPATH}/src/gopkg.in/src-d/enry.v1
|
||||
- tar -Pczf ${TRAVIS_TMPDIR}/src_archive.tar.gz -C ${TRAVIS_BUILD_DIR} . && tar -Pxzf ${TRAVIS_TMPDIR}/src_archive.tar.gz -C ${TRAVIS_HOME}/gopath/src/gopkg.in/src-d/enry.v1
|
||||
- export TRAVIS_BUILD_DIR=${TRAVIS_HOME}/gopath/src/gopkg.in/src-d/enry.v1
|
||||
- cd ${TRAVIS_HOME}/gopath/src/gopkg.in/src-d/enry.v1
|
||||
install:
|
||||
- gimme version
|
||||
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=$GO_VERSION bash)"
|
||||
- go version
|
||||
- go get -v gopkg.in/src-d/enry.v1/...
|
||||
- echo $PWD; echo $GOPATH
|
||||
- go get -v ./...
|
||||
before_script:
|
||||
- cd java
|
||||
- make
|
||||
|
Reference in New Issue
Block a user