Skip to content

Commit

Permalink
travis: cache netmap build
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
  • Loading branch information
muvarov committed Aug 2, 2017
1 parent a2040db commit ded0918
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Expand Up @@ -60,6 +60,7 @@ cache:
- pip
- directories:
- dpdk
- netmap

env:
- CONF=""
Expand Down Expand Up @@ -133,12 +134,15 @@ install:
fi
# Netmap pktio
- git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v11.2 https://github.com/luigirizzo/netmap.git
- pushd netmap/LINUX
- ./configure
- make
- sudo insmod ./netmap.ko
- popd
- |
if [ ! -f "netmap/LINUX/netmap.ko" ]; then
git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v11.2 https://github.com/luigirizzo/netmap.git
pushd netmap/LINUX
./configure
make
sudo insmod ./netmap.ko
popd
fi
script:
- ./bootstrap
Expand Down

0 comments on commit ded0918

Please sign in to comment.