mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
Prepare travis for upcoming poetry 1.0 release
The poetry version command will change in poetry 1.0 (see sdispater/poetry#1191). Without any argument, it won't bump the version anymore but instead just print the current version. This will break the current travis before_install. Let's pin poetry to ~0.12.17 for now and change it once poetry v1.0 releases.
This commit is contained in:
parent
ef23d7eabe
commit
3c68eaf98d
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ dist: xenial # required for Python >= 3.7
|
||||||
language: python
|
language: python
|
||||||
python: "3.7"
|
python: "3.7"
|
||||||
before_install:
|
before_install:
|
||||||
- pip install poetry
|
- pip install poetry~=0.12.17
|
||||||
install:
|
install:
|
||||||
# we run `poetry version` here to appease poetry about '0.0.0-source'
|
# we run `poetry version` here to appease poetry about '0.0.0-source'
|
||||||
- poetry version
|
- poetry version
|
||||||
|
@ -11,7 +11,7 @@ script:
|
||||||
- poetry run python --version
|
- poetry run python --version
|
||||||
- poetry run behave
|
- poetry run behave
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- pip install poetry
|
- pip install poetry~=0.12.17
|
||||||
- poetry config http-basic.pypi $PYPI_USER $PYPI_PASS
|
- poetry config http-basic.pypi $PYPI_USER $PYPI_PASS
|
||||||
- poetry version $TRAVIS_TAG
|
- poetry version $TRAVIS_TAG
|
||||||
- poetry build
|
- poetry build
|
||||||
|
|
Loading…
Add table
Reference in a new issue