From: Bob Halley Date: Tue, 23 Jun 2020 02:09:42 +0000 (-0700) Subject: try using poetry on travis X-Git-Tag: v2.0.0rc2~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1745cecb2cee2eb107d2dfe181c96bbdf8155cae;p=thirdparty%2Fdnspython.git try using poetry on travis --- diff --git a/.travis.yml b/.travis.yml index b01b887c..74ccbd36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)