gitlab-ci: Fix ssh-related test failures
Explicitly run the ssh server.
Explicitly dependend on the LOGNAME env variable.
Tested-by: sbarthelemy
@@ -2,6 +2,7 @@ doitall:
variables:
# Pretend we're Travis so the scripts in the 'ci' dir work
TRAVIS_OS_NAME: 'linux'
+ LOGNAME: 'gitlab-runner'
packages: >
libpython2.7-dev
wget
@@ -41,6 +42,9 @@ doitall:
# before_install
- sudo apt-get update && sudo apt-get install -y ${packages}
+ # Run the ssh server
+ - sudo service ssh start
+
# Always use an up-to-date version of pip
- wget https://bootstrap.pypa.io/get-pip.py
- python get-pip.py --user
