Update .gitlab-ci.yml

This commit is contained in:
Hiro 2017-08-16 18:03:11 +00:00
parent dcda597fd3
commit 692fa16bad

View File

@ -1,10 +1,7 @@
before_script:
- "apt-get update -qq"
- "apt-get upgrade -y"
- "apt-get install -y --fix-missing git"
# Install ssh-agent if not already installed, it is required by Docker.
# (change apt-get to yum if you use a CentOS-based image)
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- "apt-get install -y --fix-missing git openssh-client wget gcc g++ automake cmake make libglib2.0 libglib2.0-dev libigraph0 libigraph0-dev libevent-dev openssl libssl-dev python"
# Run ssh-agent (inside the build environment)
- eval $(ssh-agent -s)