Commit Graph

14 Commits

Author SHA1 Message Date
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