You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gallery-dl/.travis.yml

46 lines
898 B

language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "pypy3"
env:
- GALLERYDL_TESTS=core
matrix:
include:
- python: "3.8"
7 years ago
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://twitter.com/ubuntu/status/1121001597092364288
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