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:
parent
42bb0cdb9b
commit
748e37554c
14
.travis.yml
14
.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
|
||||
|
@ -27,7 +27,6 @@ TRAVIS_SKIP = {
|
||||
# temporary issues, etc.
|
||||
BROKEN = {
|
||||
"8chan",
|
||||
"idolcomplex",
|
||||
"imgth",
|
||||
"mangapark",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user