1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00
gallery-dl/.travis.yml
Mike Fährmann 977026c5ad
update .travis.yml
- remove any 'dist: xenial'
- add Python 3.7 and 3.8 to the default build list
- run "results" tests with Python 3.8
2019-11-19 17:47:59 +01:00

42 lines
758 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
- 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
git:
depth: 3
quiet: true
branches:
only:
- master
- /^v\d+\.\d+\.\d+(-\S*)?$/
- /^test(-\w+)+$/
install:
- pip install -r requirements.txt pyOpenSSL
script:
- ./scripts/run_tests.sh