This is an automated email from the ASF dual-hosted git repository.
apitrou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new ceae13d ARROW-2344: [Go] Run Go unit tests in Travis CI
ceae13d is described below
commit ceae13dbf73ec6bfa5baf36725eaf7ea92da313a
Author: Sebastien Binet <[email protected]>
AuthorDate: Mon Jul 2 19:37:48 2018 +0200
ARROW-2344: [Go] Run Go unit tests in Travis CI
Author: Sebastien Binet <[email protected]>
Closes #2193 from sbinet/issue-2344 and squashes the following commits:
3f67739 <Sebastien Binet> ARROW-2344: Run Go unit tests in Travis CI
---
.travis.yml | 10 ++++++++++
ci/detect-changes.py | 4 ++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index b172dff..e0014b4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -217,6 +217,16 @@ matrix:
- mkdir -p target/kcov
- RUST_BACKTRACE=1 cargo coverage --verbose
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect
coverage reports"
+ # Go
+ - language: go
+ os: linux
+ go:
+ - 1.10.x
+ script:
+ - if [ $ARROW_CI_GO_AFFECTED != "1" ]; then exit; fi
+ - go get -d -t -v ./go/arrow/...
+ - go install -v ./go/arrow/...
+ - go test -v ./go/arrow/...
after_failure:
- COREFILE=$(find . -maxdepth 2 -name "core*" | head -n 1)
diff --git a/ci/detect-changes.py b/ci/detect-changes.py
index b2b8720..9860e3e 100644
--- a/ci/detect-changes.py
+++ b/ci/detect-changes.py
@@ -26,7 +26,7 @@ import subprocess
perr = functools.partial(print, file=sys.stderr)
-LANGUAGE_TOPICS = ['c_glib', 'cpp', 'java', 'js', 'python', 'ruby', 'rust']
+LANGUAGE_TOPICS = ['c_glib', 'cpp', 'go', 'java', 'js', 'python', 'ruby',
'rust']
ALL_TOPICS = LANGUAGE_TOPICS + ['integration', 'site']
@@ -144,7 +144,7 @@ def get_affected_topics(affected_files):
elif p in ('c_glib'):
affected[p] = True
affected['ruby'] = True
- elif p in ('integration', 'python', 'site', 'ruby', 'rust'):
+ elif p in ('go', 'integration', 'python', 'ruby', 'rust', 'site'):
affected[p] = True
return affected