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