Fix travis build

This commit is contained in:
David Straub 2020-09-22 08:35:48 +02:00
parent cc7ca7ff99
commit a8e7cee670

View File

@ -60,8 +60,21 @@ addons:
# https://github.com/deanmalmgren/textract/issues/19
- zlib1g-dev
before_install:
stages:
- test
# Only execute deployment stage on tagged commits, and from our repository
# (e.g. not PRs).
- name: deploy
if: tag IS PRESENT AND repo = gramps-project/gramps
env:
global:
- TWINE_USERNAME=__token__
jobs:
include:
- stage: test
name: Run unit tests
install:
# The working directory is set to /home/travis/build/gramps-project/gramps
# by the automatic git checkout.
@ -123,19 +136,6 @@ after_success:
# /home/travis/virtualenv/python3.3.6/bin/
- PATH=/usr/bin:$PATH bash <(curl -s https://codecov.io/bash)
stages:
- test
# Only execute deployment stage on tagged commits, and from our repository
# (e.g. not PRs).
- name: deploy
if: tag IS PRESENT AND repo = gramps-project/gramps
env:
global:
- TWINE_USERNAME=__token__
jobs:
include:
# Deploy source distribution
- stage: deploy
name: Deploy source distribution and wheel