Commit 6f76893a authored by Jacob Vosmaer's avatar Jacob Vosmaer
parents 91043705 0d0bd209
before_script:
- rm -rf /usr/local/go
- apt-get update -qq
- apt-get install -y curl unzip bzip2
- curl -O https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz
- echo '46eecd290d8803887dec718c691cc243f2175fe0 go1.5.1.linux-amd64.tar.gz' | shasum -c -
- tar -C /usr/local -xzf go1.5.1.linux-amd64.tar.gz
- export PATH=/usr/local/go/bin:$PATH
test:
script: make clean test
......@@ -38,6 +38,7 @@ func gitCommand(gl_id string, name string, args ...string) *exec.Cmd {
cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
// Explicitly set the environment for the Git command
cmd.Env = []string{
fmt.Sprintf("HOME=%s", os.Getenv("HOME")),
fmt.Sprintf("PATH=%s", os.Getenv("PATH")),
fmt.Sprintf("LD_LIBRARY_PATH=%s", os.Getenv("LD_LIBRARY_PATH")),
fmt.Sprintf("GL_ID=%s", gl_id),
......
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