Commit 723b590e authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)

Merge branch 'update-gitlab-ci' into 'master'

Use docker go image

By using the official go docker image there is no need to install go
manually and this saves time pulling the ruby image which is not being
used anyway. Also, some time is save now not all packages need to be
installed to install Go.

At least thats what I expected when I typed the commit message, the speed gain is to be neglected though at least this yields a clean `.gitlab-ci.yml`.

See merge request !49
parents 3656a3de 1147635c
before_script: image: golang:1.6.2
- apt-get update -qq && apt-get install -y curl unzip bzip2
- curl -O https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz
- echo 'e40c36ae71756198478624ed1bb4ce17597b3c19d243f3f0899bb5740d56212a go1.6.2.linux-amd64.tar.gz' | shasum -c -a256 -
- rm -rf /usr/local/go && tar -C /usr/local -xzf go1.6.2.linux-amd64.tar.gz
- export PATH=/usr/local/go/bin:$PATH
test: test:
script: make clean test script:
- apt-get update -qq && apt-get install -y unzip bzip2
- make test
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