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

PR body:
"""
Tox tests contain various testcases for PyPI wheel builds
"""

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 4fa3622b2cc370231d2dda3fc881ff7972e34771 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 | 2 ++
 .travis.yml              | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/.test_runner_config.yaml b/.test_runner_config.yaml
index 014c64854b..bba8f4b3b0 100644
--- a/.test_runner_config.yaml
+++ b/.test_runner_config.yaml
@@ -63,6 +63,8 @@ steps:
   - ipa-test-task --help
   - ipa-run-tests ${tests_ignore} -k-test_dns_soa ${tests_verbose} ${path}
   - ipa-server-install --uninstall -U
+  tox:
+  - tox
 tests:
   ignore:
   - test_integration
diff --git a/.travis.yml b/.travis.yml
index c275cdca5d..e038316a49 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,6 +16,7 @@ env:
           CI_RUNNER_LOG_ARCHIVE="freeipa-ci-pr-${TRAVIS_PULL_REQUEST}-job-${TRAVIS_JOB_NUMBER}.tar.gz"
     matrix:
         - TASK_TO_RUN="lint"
+        - TASK_TO_RUN="tox"
         - TASK_TO_RUN="run-tests"
           TESTS_TO_RUN="test_xmlrpc/test_[a-k]*.py"
         - TASK_TO_RUN="run-tests"
@@ -30,6 +31,8 @@ env:
 install:
     - pip install --upgrade pip
     - pip3 install --upgrade pip
+    - pip install tox-travis
+    - pip3 install tox-travis
     - pip install pep8
     - >
       pip3 install
_______________________________________________
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