Use image

This commit is contained in:
Kayou 2019-12-23 20:27:57 +08:00 committed by GitHub
parent 6c24755e73
commit 2b0711b1f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,7 @@ stages:
- tests
.tests:
variables:
SNAPSHOT_NAME: "after-postinstall"
image: stretch:after-postinstall
before_script:
- apt-get install python-pip -y
- pip2 install pytest pytest-sugar pytest-mock requests-mock mock
@ -17,8 +16,7 @@ stages:
postinstall:
variables:
SNAPSHOT_NAME: "before-postinstall"
image: stretch:before-postinstall
stage: postinstall
script:
- yunohost tools postinstall -d domain.tld -p the_password --ignore-dyndns