[ovs-git] [openvswitch/ovs] 290488: travis: parallel builds and tests

GitHub noreply at github.com
Thu Aug 10 20:47:03 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 2904883c27a5804c8377363c2706e6842c6bf3c7
      https://github.com/openvswitch/ovs/commit/2904883c27a5804c8377363c2706e6842c6bf3c7
  Author: Lance Richardson <lrichard at redhat.com>
  Date:   2017-08-10 (Thu, 10 Aug 2017)

  Changed paths:
    M .travis/linux-build.sh

  Log Message:
  -----------
  travis: parallel builds and tests

Some recent travis builds have failed due to having exceeded the
per-job time limit of 50 minutes. This change enables parallel
builds and parallel test execution in order to reduce overall
execution time, and will hopefully allow this class of build
failures to be avoided.

Since the travis build environment is provisioned with two CPUs,
use -j2 for builds and -j4 for tests. Testing in a cloned repository
shows slightly more than a 50% reduction in overall test time.

Signed-off-by: Lance Richardson <lrichard at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list