Fix travis build
This commit is contained in:
28
.travis.yml
28
.travis.yml
@ -60,8 +60,21 @@ addons:
|
|||||||
# https://github.com/deanmalmgren/textract/issues/19
|
# https://github.com/deanmalmgren/textract/issues/19
|
||||||
- zlib1g-dev
|
- 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:
|
install:
|
||||||
# The working directory is set to /home/travis/build/gramps-project/gramps
|
# The working directory is set to /home/travis/build/gramps-project/gramps
|
||||||
# by the automatic git checkout.
|
# by the automatic git checkout.
|
||||||
@ -123,19 +136,6 @@ after_success:
|
|||||||
# /home/travis/virtualenv/python3.3.6/bin/
|
# /home/travis/virtualenv/python3.3.6/bin/
|
||||||
- PATH=/usr/bin:$PATH bash <(curl -s https://codecov.io/bash)
|
- 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
|
# Deploy source distribution
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
name: Deploy source distribution and wheel
|
name: Deploy source distribution and wheel
|
||||||
|
Reference in New Issue
Block a user