Skip to content

Commit

Permalink
Build sdist on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed May 10, 2019
1 parent 570ba9c commit 287e40e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ script:
pre-commit run --all-files
fi
- python setup.py test
- python setup.py sdist

after_success:
- mkdir deploy
- |
if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]
then
cp dist/fido2-*.tar.gz deploy/python-fido2-$TRAVIS_BRANCH.tar.gz
docker build -t xenial -f docker/xenial/Dockerfile .
id=$(docker create xenial)
docker cp $id:/python-fido2-debian-packages.tar.gz deploy/python-fido2-$TRAVIS_BRANCH-deb.tar.gz
Expand Down

0 comments on commit 287e40e

Please sign in to comment.