language: python
matrix:
  include:
    - python: "3.6"
      env: TOX_ENV=py36
    - python: "3.7"
      env: TOX_ENV=py37
    - python: "3.8"
      env: TOX_ENV=py38
    - python: "3.9"
      env: TOX_ENV=py39
sudo: false
install:
- pip install tox
script: tox -e $TOX_ENV
deploy:
  provider: pypi
  user: __token__
  password:
    secure: fN5b3I7B9Kma75TXOQuU4MTdkzAQ/+///xILMP3Qp/bkVGh8WTv2k1+zt1IKDR7L9/tV9Ai4VJNbZG1vvxwNWpQu7GWhTBST6GAE3SUf1To8YTnSYFtcvexaudEQOgdAqvXo0KCLj1sBQF+8VyYV6UkphttH8dnXC0l+Xc6KzrK28DKSnWNBjaMLKnADgXamWW/QpfRhp9NCUb2G0Vepq/hl2vgyF7I+fM5NJT/WW/6qBZ9toYjW08JPEaxQRlqmlXZtOCxQCm5Mpowkzhr0JucF51BGKwIz7Kmq8uqFOPlEuPB1Pz3vwIvmKn4zkyOo18vxqfEMl/b1qiz6y9gWXcXH5P+uZ4R9RT4VZPqz5mi4Xtz5HQT1GW600BKFjoauAdcTXbXcdSFo/FnBsow8munu48vlAm6Fcxs3v+2yoA2kqEL+xUKBYaGgoc7hrbD2xqn1gCMeZvRdVrx6IMRPq6VRDTl7mm/ndQH0nabj9k2M5vQBoX9/hwOz6655fmT1BWQaD7C/ShY1zLcNMHrHOVNFuYWt6Op/OMbwVDcCQkm9TStyBHVbeDhwYGegG7AHGNvk0W3aQxNLk7Hz/Hp2jA8UBVWlQ2rVj67cLa56c2i0B/lsurx7YlmCaWHzMtm4iYVIYsf8jiueNBTuhHkZdrm2BJUIyL2rtN0RHXfu6nQ=
  on:
    tags: true
    distributions: sdist bdist_wheel
    repo: google/pyu2f
