From 748e37554cb652dced509e9fa59a4c09ff70bfa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 11 Aug 2019 16:03:19 +0200 Subject: [PATCH] update .travis.yml - install pyOpenSSL before running tests - simplify snap tests --- .travis.yml | 14 +++++++++++--- test/test_results.py | 1 - 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 61589411..4b3a2cd3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/test/test_results.py b/test/test_results.py index fe346c15..c555f3e6 100644 --- a/test/test_results.py +++ b/test/test_results.py @@ -27,7 +27,6 @@ TRAVIS_SKIP = { # temporary issues, etc. BROKEN = { "8chan", - "idolcomplex", "imgth", "mangapark", }