Skip to content

Commit 452b13b

Browse files
authored
Update .travis.yml
1 parent 65a3b4f commit 452b13b

File tree

1 file changed

+14
-31
lines changed

1 file changed

+14
-31
lines changed

.travis.yml

Lines changed: 14 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,14 @@
1-
# This workflows will upload a Python Package using Twine when a release is created
2-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3-
4-
name: Upload Python Package
5-
6-
on:
7-
release:
8-
types: [created]
9-
10-
jobs:
11-
deploy:
12-
13-
runs-on: ubuntu-latest
14-
15-
steps:
16-
- uses: actions/checkout@v2
17-
- name: Set up Python
18-
uses: actions/setup-python@v2
19-
with:
20-
python-version: '3.x'
21-
- name: Install dependencies
22-
run: |
23-
python -m pip install --upgrade pip
24-
pip install setuptools wheel twine
25-
- name: Build and publish
26-
env:
27-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29-
run: |
30-
python setup.py sdist bdist_wheel
31-
twine upload dist/*
1+
language: python
2+
python:
3+
-'2.7'
4+
-'3.0'
5+
-'3.5'
6+
-'3.6'
7+
-'3.7'
8+
-'3.8'
9+
10+
before_script:
11+
- composer install --no-interaction
12+
13+
script:
14+
- gmail

0 commit comments

Comments
 (0)