1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-11-16 18:06:44 +00:00

tests: Another attempt to fix code coverage

This commit is contained in:
Lauri Võsandi 2017-05-01 23:32:01 +00:00
parent a168b19cf2
commit 06b65444d5

View File

@ -4,7 +4,7 @@ dist: trusty
python: python:
- "2.7" - "2.7"
after_success: after_success:
- sudo codecov - codecov
virtualenv: virtualenv:
system_site_packages: true system_site_packages: true
install: install:
@ -14,8 +14,9 @@ install:
- sudo mkdir -p /etc/systemd/system - sudo mkdir -p /etc/systemd/system
- sudo pip install -r requirements.txt - sudo pip install -r requirements.txt
- sudo pip install codecov pytest-cov - sudo pip install codecov pytest-cov
- sudo pip install . - sudo pip install -e .
script: script:
- sudo find /home/ -type d -exec chmod 755 {} \;
- sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1' - sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
- sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1' - sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
- sudo adduser --system --no-create-home --group certidude - sudo adduser --system --no-create-home --group certidude