Commit 26e3aa19 by Siva Committed by Tianqi Chen

[DOCKER][GOLANG] fix golang version. (#2023)

parent f5c10e9f
...@@ -89,5 +89,5 @@ Here are some common use examples to perform CI tasks. ...@@ -89,5 +89,5 @@ Here are some common use examples to perform CI tasks.
- build golang test suite. - build golang test suite.
```bash ```bash
./docker/build.sh ci_cpu make -C golang tests ./docker/build.sh ci_cpu tests/scripts/task_golang.sh
``` ```
#install the necessary dependancies for golang build #install the necessary dependancies for golang build
apt-get update && apt-get install -y golang-0.10-go apt-get update && apt-get install -y golang-1.10-go
apt-get update && apt-get install -y godoc apt-get update && apt-get install -y golang-1.10-doc
apt-get update && apt-get install -y golint apt-get update && apt-get install -y golint
#!/bin/bash
set -e
export LD_LIBRARY_PATH=lib:$LD_LIBRARY_PATH
tvm_root="$(git rev-parse --show-toplevel)"
export PYTHONPATH="$tvm_root/python":"$tvm_root/nnvm/python":"$tvm_root/topi/python"
# Golang tests
make -C golang tests
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment