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

tests: Run tests as root

This commit is contained in:
Lauri Võsandi 2017-05-01 17:19:49 +00:00
parent 960e7be1f1
commit 6a8af36c99

View File

@ -17,8 +17,7 @@ install:
script: script:
- 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 chmod 755 /etc/shadow - sudo py.test --cov-report xml --cov=certidude tests/
- py.test --cov-report xml --cov=certidude tests/
cache: cache:
directories: directories:
- $HOME/.cache/pip - $HOME/.cache/pip