Skip to content

Commit 66331f8

Browse files
committed
travis changed
1 parent ff44f5f commit 66331f8

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.travis.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,16 @@ stages:
1010
jobs:
1111
include:
1212
- stage: test
13-
install:
14-
- pip install --upgrade pip
15-
- pip install poetry
16-
- poetry install -v
1713
script:
14+
- poetry install -v
1815
- pytest
1916
- stage: deploy
2017
script:
21-
- echo Deploying to PyPI...
18+
- poetry config pypi-token.pypi $PYPI_TOKEN
19+
- poetry build
20+
- poetry publish
2221

23-
before_deploy:
24-
# User and password environment variables are set as hidden variables through
25-
# the web interface in the project settings.
22+
install:
2623
- pip install --upgrade pip
2724
- pip install poetry
28-
- poetry config pypi-token.pypi $PYPI_TOKEN
29-
- poetry build
3025

31-
deploy:
32-
provider: script
33-
script: poetry publish
34-
skip_cleanup: true

0 commit comments

Comments
 (0)