]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
try using poetry on travis
authorBob Halley <halley@dnspython.org>
Tue, 23 Jun 2020 02:09:42 +0000 (19:09 -0700)
committerBob Halley <halley@dnspython.org>
Tue, 23 Jun 2020 02:09:42 +0000 (19:09 -0700)
.travis.yml

index b01b887c5ed2d918cb508c8ec3aa43e25b12e01e..74ccbd3607fc39390465247cd27193d7b112cb83 100644 (file)
@@ -7,9 +7,9 @@ branches:
   except:
     - python3
 install:
- - pip install --upgrade pytest
- - pip install typing coverage pytest pytest-cov cryptography idna requests requests-toolbelt trio curio
+ - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
+ - ~/.poetry/bin/poetry install
 script:
- - pytest --cov=dns --cov-report=xml:coverage.xml
+ - ~/.poetry/bin/poetry run pytest --cov=dns --cov-report=xml:coverage.xml
 after_success:
  - bash <(curl -s https://codecov.io/bash)