From 22f33bed35a2651b47b653407eca322194111bc9 Mon Sep 17 00:00:00 2001 From: Arthur Golubtsov Date: Sat, 6 Jun 2020 09:19:32 +0300 Subject: [PATCH] Add pytest stage to travis --- .travis.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5603a77..41dea64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,6 +42,14 @@ jobs: draft: true name: ${TRAVIS_TAG} + - stage: Test + name: Execute auto tests + language: python + python: 2.7 + script: + - cd test + - pytest + - stage: Annotate name: Auto-generate changelog language: python @@ -50,11 +58,8 @@ jobs: - pip install GitPython PyGithub script: - PYTHONUNBUFFERED=1 python ./builder/assets/gen_changelog.py + stages: - Build + - Test - Annotate -# More info there -# https://github.com/travis-ci/travis-ci/issues/6893 -# https://docs.travis-ci.com/user/customizing-the-build/ -# https://docs.travis-ci.com/user/deployment/releases -# https://docs.travis-ci.com/user/environment-variables/