update .travis.yml
- install pyOpenSSL before running tests - simplify snap tests
This commit is contained in:
14
.travis.yml
14
.travis.yml
@@ -16,11 +16,18 @@ matrix:
|
|||||||
env: GALLERYDL_TESTS=results
|
env: GALLERYDL_TESTS=results
|
||||||
- language: minimal
|
- language: minimal
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
env: GALLERYDL_TESTS=snap
|
||||||
addons:
|
addons:
|
||||||
snaps:
|
snaps:
|
||||||
- name: snapcraft
|
- name: snapcraft
|
||||||
classic: true
|
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:
|
git:
|
||||||
depth: 3
|
depth: 3
|
||||||
@@ -31,6 +38,7 @@ branches:
|
|||||||
- /^v\d+\.\d+\.\d+(-\S*)?$/
|
- /^v\d+\.\d+\.\d+(-\S*)?$/
|
||||||
- /^test(-\w+)+$/
|
- /^test(-\w+)+$/
|
||||||
|
|
||||||
|
install:
|
||||||
|
- pip install -r requirements.txt pyOpenSSL
|
||||||
script:
|
script:
|
||||||
- 'if test "${SNAP_TESTS}" != true; then ./scripts/run_tests.sh; else true; fi'
|
- ./scripts/run_tests.sh
|
||||||
- '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'
|
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ TRAVIS_SKIP = {
|
|||||||
# temporary issues, etc.
|
# temporary issues, etc.
|
||||||
BROKEN = {
|
BROKEN = {
|
||||||
"8chan",
|
"8chan",
|
||||||
"idolcomplex",
|
|
||||||
"imgth",
|
"imgth",
|
||||||
"mangapark",
|
"mangapark",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user