mirror of
https://github.com/laurivosandi/certidude
synced 2024-09-28 21:11:42 +00:00
Require sudo for Travis
This commit is contained in:
parent
a5c776621b
commit
cd9e896206
@ -1,4 +1,4 @@
|
|||||||
sudo: false
|
sudo: required
|
||||||
language: python
|
language: python
|
||||||
dist: trusty
|
dist: trusty
|
||||||
python:
|
python:
|
||||||
@ -12,8 +12,9 @@ install:
|
|||||||
- pip install --editable .
|
- pip install --editable .
|
||||||
- pip install codecov pytest-cov click ipaddress humanize falcon simplepam
|
- pip install codecov pytest-cov click ipaddress humanize falcon simplepam
|
||||||
script:
|
script:
|
||||||
- useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
|
- sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
|
||||||
- useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
|
- sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
|
||||||
|
- sudo usermod -a -G shadow $USER
|
||||||
- py.test --cov-report xml --cov=certidude tests/
|
- py.test --cov-report xml --cov=certidude tests/
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
Loading…
Reference in New Issue
Block a user