]> git.proxmox.com Git - ovs.git/commit - .travis.yml
travis: Cache DPDK build.
authorIlya Maximets <i.maximets@samsung.com>
Mon, 5 Aug 2019 07:58:18 +0000 (10:58 +0300)
committerIlya Maximets <i.maximets@samsung.com>
Thu, 15 Aug 2019 10:58:38 +0000 (13:58 +0300)
commit7654a3ed0b38a985da7b1e6e436ffdb0fdb24b5a
tree54a6b76fcf00e39e5a9a9e6eaf342609fa03b0b3
parent58b34b0016bfd1341ac0820568cf5f42b5ac56b8
travis: Cache DPDK build.

This change enables cache for DPDK build directory, so we'll never
build same version of DPDK again. This speeds up each DPDK related
job by 4-6 minutes effectively saving 30-50 minutes of the total time.
Ex. Full TravisCI run on 'trusty' images:

  Without cache:
    Ran for 1 hr 9 min 29 sec
    Total time 4 hrs 55 min 13 sec

  With populated cache:
    Ran for 1 hr 2 min 18 sec
    Total time 4 hrs 20 min 9 sec

Saved:
  Real time: ~7 minutes.
  Total worker time: ~35 minutes.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Aaron Conole <aconole@redhat.com>
.travis.yml
.travis/linux-build.sh