1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

update .travis.yml

- install pyOpenSSL before running tests
- simplify snap tests
This commit is contained in:
Mike Fährmann 2019-08-11 16:03:19 +02:00
parent 42bb0cdb9b
commit 748e37554c
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 11 additions and 4 deletions

View File

@ -16,11 +16,18 @@ matrix:
env: GALLERYDL_TESTS=results
- language: minimal
dist: xenial
env: GALLERYDL_TESTS=snap
addons:
snaps:
- name: snapcraft
classic: true
env: SNAP_TESTS=true
install:
- true
script:
- sudo apt update
- snapcraft --destructive-mode
- sudo snap try
- snap run gallery-dl --verbose https://twitter.com/ubuntu/status/1121001597092364288
git:
depth: 3
@ -31,6 +38,7 @@ branches:
- /^v\d+\.\d+\.\d+(-\S*)?$/
- /^test(-\w+)+$/
install:
- pip install -r requirements.txt pyOpenSSL
script:
- 'if test "${SNAP_TESTS}" != true; then ./scripts/run_tests.sh; else true; fi'
- 'if test "${SNAP_TESTS}" = true; then sudo apt update && snapcraft --destructive-mode && sudo snap try && snap run gallery-dl --verbose https://twitter.com/ubuntu/status/1121001597092364288; else true; fi'
- ./scripts/run_tests.sh

View File

@ -27,7 +27,6 @@ TRAVIS_SKIP = {
# temporary issues, etc.
BROKEN = {
"8chan",
"idolcomplex",
"imgth",
"mangapark",
}