From 26876ed972d82361b5a35eb87d49e4310e8f415b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Mon, 1 May 2017 18:53:28 +0000 Subject: [PATCH] tests: Fixes --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c09b1d5..cbb0dcf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ install: - echo "127.0.0.1 localhost" | sudo tee /etc/hosts - echo "127.0.0.1 ca.example.lan ca" | sudo tee -a /etc/hosts - echo "127.0.0.1 vpn.koodur.lan" | sudo tee -a /etc/hosts + - sudo mkdir -p /etc/systemd/system - sudo pip install -r requirements.txt - sudo pip install codecov pytest-cov - sudo pip install --editable . @@ -18,7 +19,7 @@ script: - sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1' - sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1' - sudo adduser --system --no-create-home --group certidude - - sudo py.test -s --cov-report xml --cov=certidude tests/ + - sudo py.test --cov-report xml --cov=certidude tests/ cache: directories: - $HOME/.cache/pip