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
1 changed files with 1 additions and 2 deletions

View File

@ -17,8 +17,7 @@ install:
script:
- sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
- sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
- sudo chmod 755 /etc/shadow
- py.test --cov-report xml --cov=certidude tests/
- sudo py.test --cov-report xml --cov=certidude tests/
cache:
directories:
- $HOME/.cache/pip