nvchecker/.travis.yml
2020-08-20 15:30:43 +08:00

35 lines
1.4 KiB
YAML

os: linux
dist: bionic
language: python
cache: pip
python:
- "3.7"
- "3.8"
- "nightly"
- "pypy3.6-7.3.1"
before_install: openssl enc -d -aes-256-ctr -pbkdf2 -k $KEY -in keyfile.toml.enc -out keyfile.toml
install: pip install -U $DEPS pytest pytest-asyncio pytest-httpbin flaky structlog toml
script: pytest
env:
global:
- secure: "t8ffqGkADmA8DQDnqswd/olWPM5smpibdkK67EwBy3fWwOpvWkEzmJm2ZLIF5JYRN8tG09v+54v0omHvhUrqmhTuR2wW6F9RgfeZhLfv12BW/XZCGBMW04oYPtROCWbEAFndaOBneh82suGjDtjgU+fKfUaAXLJBPFdJafLTnZaVcW/andLRpF1gEQDEfGg9Wqo7WMQjETeWQI6mXNkXmxtqKAMen7arPe18CiNMApf6ybLUnuTEyg4oi+1pgQ9sfSJqw/lYvWxIJe0ajBC+Izy9noaI+LqRITMj3zyX9c3yHMCRuJU+YUim+P58wHjpOOdhZFgIsadfkgmtLnkvXOihbGHUV6IVZ/ZroezJz8FiDg23L/z/iPKaSaKg3BvkNceS/UA8QZUCdGmM7C33iSi0JC/3jmdkip8MCCerfW5NkNT1a7V4uoEgnNPNeLYv8zYPMwVkGxwNckW2NJOhuY+R168Cfxye/Y0jydnT/jP4uZGWpVS8d0KDnl8qsX7O2ULX+E76CjCgdq7SM37tilhXbjH4bX/aaFpncOMWqw5YgpgYo9XIPZeiXIE8fjv/Eu1Ahxh7rv+bqP4SAICknRVIaLrzpVN3wYHMlDi93GoBisREe7nI78wvZxebI0NV+qvTII0Hak+hUJtDM6ujg/ZkqiEfppw9NonmHSgmQcE="
jobs:
- DEPS=aiohttp
- DEPS="tornado pycurl"
- DEPS=tornado
- DEPS="httpx[http2]>=0.14.0"
jobs:
fast_finish: true
allow_failures:
# doesn't work well, see https://travis-ci.org/lilydjwg/nvchecker/jobs/376326582
- python: pypy3.6-7.3.1
env: DEPS=aiohttp
# it works now, but may be broken in the future again
- python: nightly
addons:
apt:
packages:
# This is needed for pycurl
- libgnutls28-dev