Commit Graph

18 Commits

Author SHA1 Message Date
Daniel Verkamp
fb4ee5ce38 travis: move git submodule update to run first
Currently, the astyle build is failing due to sourceforge.net downloads
failing.  Move the git submodule update before that since it's more
critical.

Change-Id: Ibbf32759eed0f557652de41e7bfec6e8a3058772
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/380532
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-09-27 17:55:23 -04:00
Daniel Verkamp
01aba26361 travis: add libnuma-dev for DPDK 17.08
Change-Id: I975b5571433fdc1ba1914869fff215db70b31e83
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/379574
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2017-09-21 19:17:16 -04:00
Daniel Verkamp
2b1d8415cd travis: add uuid-dev dependency for lvol
Change-Id: I9b279803a9501d6f9486cf6927a50998ce2207b7
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/378833
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Piotr Pelpliński <piotr.pelplinski@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2017-09-18 11:59:31 -04:00
Daniel Verkamp
b23bc69cfa travis: switch to using the dpdk submodule
Change-Id: I96cb0bc89e793126984899a4ded4e3a1dee56107
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/362045
Tested-by: <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-05-22 22:17:55 -04:00
Daniel Verkamp
1d7a870875 travis: build astyle and run scripts/check_format.sh
It is small and quick enough to just build the version of astyle we
need.

Only build astyle when configured to use GCC, since the astyle Makefile
is hard-coded to use g++, and we don't need to check style twice anyway.

Change-Id: I9c61bcac80b581f6d72ed7fbc337c5681bf014fc
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-04-26 15:35:03 -07:00
Daniel Verkamp
07295a8155 Revert "travis: disable vhost build on Travis-CI"
As of commit 6e2d7be8a1 ("vhost: add copy
of virtio headers"), we bundle the appropriate headers that were causing
the Travis-CI build to fail, so re-enable vhost in the Travis build.

This reverts commit 2d0246da83.

Change-Id: Ib52f66c91264aee138e420606ae1f16824aa3c10
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-03-24 10:53:23 -07:00
Daniel Verkamp
2d0246da83 travis: disable vhost build on Travis-CI
The virtio_scsi.h header is not available in the version of
linux-libc-dev shipped with Ubuntu Trusty.

Change-Id: I442f2cfc160b166b56b3c0b6f2f3ff02df971abb
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-03-17 14:36:18 -07:00
Daniel Verkamp
6369fd2395 travis: update to Ubuntu Trusty environment
Change-Id: Ia0eb918b6a20ae1d57fca380adb62a2e20e9f661
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-03-17 13:40:33 -07:00
Daniel Verkamp
f78d24935d travis: run multiple make jobs
The Travis container-based infrastructure has 2 cores, so use multiple
make jobs to take advantage of this and shorten the build.

Change-Id: Ib0fa7d25d23109f201b4d25f85d5fba44e026d13
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-02-28 00:17:20 -07:00
Daniel Verkamp
519fc95fd6 travis: update to DPDK 17.02
Change-Id: I6d774f56808eddf21c63e8896037d0f220edb819
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-02-28 00:17:20 -07:00
Daniel Verkamp
7c3214a0ac unittest.sh: move 'make' command into .travis.yml
The unittest.sh script now assumes that the build has already completed
before it is run.

Change-Id: I814b7bf462e8596986b80fe31a93c26c82db7d57
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-01-25 15:19:23 -07:00
Daniel Verkamp
ad8f708667 readme, travis: update to DPDK 16.11
Change-Id: I41b8dc302884b7a231a1caffe7f82ada8527ac11
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-11-15 11:14:32 -07:00
Daniel Verkamp
8eebe5e12d travis-ci: fix DPDK_DIR after DPDK config changes
Change-Id: Id5d24cfb2f09b3d09d97f8cdc6d43f522d31be5e
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-11-10 16:06:17 -07:00
Daniel Verkamp
08e982bbf5 travis-ci: disable DPDK kernel modules
Configure DPDK to not build any kernel modules and therefore not
require the installation of kernel headers.

Change-Id: Iff6aa3da31139c0774a15e453e34182ef3f48106
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-11-10 14:00:24 -07:00
Daniel Verkamp
fc5bb244ca travis: install specific linux-headers version
The Travis CI container-based apt whitelist only includes the specific
linux-headers-3.13.0-40-generic package, not the generic
linux-headers-generic package.

Change-Id: I475908bc66194e08bf14861ada0897c06a1c7108
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-10-10 09:49:54 -07:00
Daniel Verkamp
f6207364d3 travis: fix DPDK target name typo
Change-Id: I6c25596b88e11c030c946d2dfdd5e3cf6cb53a01
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-10-10 09:38:25 -07:00
Daniel Verkamp
12f56a432f travis: install DPDK and other dependencies
Change the unittest.sh script to assume that all dependencies are
available and just build the entirety of SPDK from the root directory.

Change-Id: I394fe0cdfe25373c030b2769dd19c1a9827510c3
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-10-07 15:34:18 -07:00
Daniel Verkamp
555a3d85c6 build: add Travis CI integration
Use the container-based travis-ci.org infrastructure to run only the unit
tests.

Change-Id: I4f7d011edb07341a668fa6fea495f6eb2a9c029b
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2015-11-04 11:05:59 -07:00