1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-24 19:52:32 +01:00
gallery-dl/.travis.yml
2020-06-12 18:31:14 +02:00

46 lines
908 B
YAML

language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "pypy3"
env:
- GALLERYDL_TESTS=core
matrix:
include:
- python: "3.8"
env: GALLERYDL_TESTS=results
- python: "3.8"
env: GALLERYDL_TESTS=flake8
install: pip install flake8
script: flake8 .
- language: minimal
env: GALLERYDL_TESTS=snap
addons:
snaps:
- name: snapcraft
classic: true
install:
- true
script:
- sudo apt update
- snapcraft --destructive-mode
- sudo snap try
- snap run gallery-dl --verbose https://en.wikipedia.org/static/images/project-logos/enwiki.png
allow_failures:
- env: GALLERYDL_TESTS=results
- env: GALLERYDL_TESTS=snap
git:
depth: 3
quiet: true
branches:
only:
- master
- /^v\d+\.\d+\.\d+(-\S*)?$/
- /^test(-\w+)+$/
script:
- ./scripts/run_tests.sh