diff options
author | Martin Babinsky <mbabinsk@redhat.com> | 2016-12-20 16:04:02 +0100 |
---|---|---|
committer | Martin Babinsky <mbabinsk@redhat.com> | 2017-01-05 16:21:51 +0100 |
commit | b8423492f5dce32183b34d718e4619fe3ca8bfef (patch) | |
tree | 39f04d15e53c476b7dcf768f7756310b4f454b70 | |
parent | 149d86de14b00b73f625fefe73c2322a2fffac06 (diff) | |
download | freeipa-b8423492f5dce32183b34d718e4619fe3ca8bfef.tar.gz freeipa-b8423492f5dce32183b34d718e4619fe3ca8bfef.tar.xz freeipa-b8423492f5dce32183b34d718e4619fe3ca8bfef.zip |
split out lint to a separate Travis job
In order to speed our Travis CI gating even further, the lint step has
been split to a separate job that can be run in parallel with the test
runs. The test runs are in turn launched in developer mode to speed them
up.
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
-rw-r--r-- | .travis.yml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 8692dd749..2bcd843e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,15 @@ services: env: global: - TEST_RUNNER_IMAGE="martbab/freeipa-fedora-test-runner:master-latest" + TEST_RUNNER_CONFIG=".test_runner_config.yaml" + PEP8_ERROR_LOG="pep8_errors.log" + CI_RESULTS_LOG="ci_results_${TRAVIS_BRANCH}.log" matrix: - - TESTS_TO_RUN="test_xmlrpc/test_[a-k]*.py" - - > - TESTS_TO_RUN="test_cmdline + - TASK_TO_RUN="lint" + - TASK_TO_RUN="run-tests" + TESTS_TO_RUN="test_xmlrpc/test_[a-k]*.py" + - TASK_TO_RUN="run-tests" + TESTS_TO_RUN="test_cmdline test_install test_ipalib test_ipapython @@ -24,5 +29,5 @@ before_install: script: - travis_wait 50 ./.travis_run_task.sh after_failure: - - echo "Test runner output:"; tail -n 5000 ci_results_${TRAVIS_BRANCH}.log - - echo "PEP-8 errors:"; cat pep8_errors.log + - echo "Test runner output:"; tail -n 5000 $CI_RESULTS_LOG + - echo "PEP-8 errors:"; cat $PEP8_ERROR_LOG |