URL: https://github.com/freeipa/freeipa/pull/846
Author: MartinBasti
 Title: #846: Travis: Add tox tests
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/846/head:pr846
git checkout pr846
From 2b199c35532710cfb4459b7128bf950d958a6990 Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Fri, 2 Jun 2017 10:41:20 +0200
Subject: [PATCH] Travis: Add tox tests

Tox tests contain various testcases for PyPI wheel builds
---
 .test_runner_config.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.test_runner_config.yaml b/.test_runner_config.yaml
index 014c64854b..948b844d4c 100644
--- a/.test_runner_config.yaml
+++ b/.test_runner_config.yaml
@@ -28,7 +28,8 @@ steps:
   builddep:
   - rm -rf /var/cache/dnf/*
   - "dnf makecache fast || :"
-  - dnf builddep -y ${builddep_opts} --spec freeipa.spec.in --best --allowerasing
+  - dnf install -y python2-tox python3-tox
+  - dnf builddep -y ${builddep_opts} -D "with_lint 1" -D "with_wheels 1" --spec freeipa.spec.in --best --allowerasing
   cleanup:
   - chown -R ${uid}:${gid} ${container_working_dir}
   - journalctl -b --no-pager > systemd_journal.log
@@ -53,6 +54,7 @@ steps:
   lint:
   - make PYTHON=/usr/bin/python2 V=0 lint
   - make PYTHON=/usr/bin/python3 V=0 pylint
+  - tox pypi
   prepare_tests:
   - echo ${server_password} | kinit admin && ipa ping
   - cp -r /etc/ipa/* ~/.ipa/
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to