summaryrefslogtreecommitdiff
path: root/.travis
Commit message (Collapse)AuthorAgeFilesLines
* datapath: Add support for 4.0 kernel.Joe Stringer2015-05-081-1/+3
| | | | | Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
* travis: Fix clang build for DPDK-2.0.Joe Stringer2015-05-081-1/+1
| | | | | | | -Wno-cast-align is a CFLAG, not a configure option. Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
* DPDK: add support for v2.0.0Mark Kavanagh2015-04-291-4/+7
| | | | | | | | | | | | | | Update relevant artifacts to add support for DPDK v2.0.0 - INSTALL.DPDK.md - travis build script - acinclude.m4: add 'mssse3' flag to OVS_CFLAGS - netdev-dpdk: fix build with unified offload types in DPDK v2.0.0 Note that this breaks compatibility with DPDK v1.8.0 Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Signed-off-by: Panu Matilainen <pmatilai@redhat.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
* travis: fix errorsMark Kavanagh2015-04-132-13/+13
| | | | | | | | | | | | | Fix two issues observed in travis scripts: - prepare.sh: add '-E' flag to ensure user environmental variables (for example, URL of the proxy server) are passed to 'sudo' - build.sh: add quotes around compiler variable to fix 'unary operator expected' error [tgraf: Fixed two additional occurrences of missing "] Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
* DPDK: Update documentation and travis build for vhost.Daniele Di Proietto2015-03-202-0/+4
| | | | | | | | DPDK vhost support is mandatory to compile OVS with DPDK. This commit updates INSTALL.DPDK.md and the travis build procedure to reflect that. Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
* lib: upgrade to DPDK v1.8.0Mark Kavanagh2015-03-041-2/+2
| | | | | | | | | | | | | DPDK v1.8.0 makes significant changes to struct rte_mbuf, including removal of the 'pkt' and 'data' fields. The latter, formally a pointer, is now calculated via an offset from the start of the segment buffer. So now dp_packet data is also stored as offset from base pointer. Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Signed-off-by: Rory Sexton <rory.sexton@intel.com> Signed-off-by: Kevin Traynor <kevin.traynor@intel.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
* travis: Add 32 bit (-m32) cross-compile buildThomas Graf2015-02-042-2/+7
| | | | | | | | | | | | | | | Inspired by Ben Pfaff's email on 32 bit build environment, this adds a 32bit build to the travis build matrix to catch alignment and padding issues. The 32 bit build is only enabled for non-DPDK builds as DPDK itself is currently not capable to be compiled with -m32. The build also has SSL disabled as the Ubuntu libssl-devel package is not multiarch compatible on the travis build system. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Ben Pfaff <blp@nicira.com>
* travis: support versioning of DPDK and options to specify git repo and tagShu Shen2015-01-051-4/+14
| | | | | | | | | | | | | | | | | | | | | | | Use DPDK_VER to specify the version of DPDK, and DPDK_GIT to specify the URL of the DPDK git repository. Both flags require "DPDK=1" and "--with-dpdk" shall no longer be specified as part of "OPTS" environment. Example uses: - skip both flags to use v1.7.1 tarball from dpdk.org as before: KERNEL=3.17.4 DPDK=1 - specify DPDK_VER only to use a version of tarball from dpdk.org: KERNEL=3.17.4 DPDK=1 DPDK_VER=1.7.1 - specify both DPDK_VER and DPDK_GIT to check out the tag "v$DPDK_VER" from the git repository "$DPDK_GIT": KERNEL=3.18 DPDK=1 DPDK_VER=1.7.1sp1 DPDK_GIT=https://github.com/shushen/dpdk Signed-off-by: Shu Shen <shu.shen@radisys.com> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
* travis: Only run testsuite for gcc buildsThomas Graf2014-12-051-1/+1
| | | | | | | | This reduces the total travis build time significantly. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* travis: Extended kernel build matrixThomas Graf2014-12-051-6/+27
| | | | | | | | | | | | | | | | When doing test builds, build against the following kernels: - KERNEL=3.17.4 - KERNEL=3.16.7 - KERNEL=3.14.25 - KERNEL=3.12.33 - KERNEL=3.10.61 - KERNEL=3.4.104 - KERNEL=2.6.32.64 When doing pure kernel test builds, skip compilation of user space bits. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Build: Add support for shared libraries and versioning.Scott Mann2014-11-111-0/+2
| | | | | | | | | | | | | | | | | These changes allow for the building of shared libraries by providing the --enable-shared option to configure. In particular, lib/libopenvwitch.so, lib/libsflow.so, ofproto/libofproto.so, and ovsdb/libovsdb.so will be built. Original behavior of building static remains the same. Additionally, versioning is introduced to each of the libraries objects paving the way for APIs to be built around them. A detailed comment outlining the rules for changing a version number is provided in configure.ac. Note that at this time, the version number is set to 1.0.0, no API is specified yet, and there are no requirements to maintain any sort of compatibility in any of the libraries. Signed-off-by: Scott Mann <smann@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* travis: Enable -Wsparse-error and fail on new sparse warningsThomas Graf2014-11-112-5/+7
| | | | | | | | | | | | | | A new option -Wsparse-error has been introduced to sparse in the commits: 4d8811 sparse: Make -Werror turn warnigns into errors fe57af rename -Werror to -Wsparse-error which makes sparse fail on warnings. Start using the sparse git tree for verification and make use of the new flag. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* netdev-dpdk: Move to DPDK 1.7.1maryam.tahhan2014-10-201-3/+3
| | | | | | | | | | | | This patch updates the documentation to reflect that DPDK 1.7.1 is supported. Travis scripts have also been updated to reflect this. DPDK phy and ring ports were validated against DPDK 1.7.1. Reviewed-by: Mark D. Gray <mark.d.gray@intel.com> Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com> Acked-by: Daniele Di Proietto <ddiproietto@vmware.com> Acked-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
* datapath: Provide compatibility for kernels up to 3.17Thomas Graf2014-09-201-3/+3
| | | | | | | | | | | Port datapath to work with kernrels up to 3.17 and use 3.16.2 as the new kernel for CI testing. Tested with 3.14, 3.16.2, and net-next (3.17). Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Co-authored-by: Madhu Challa <challa@noironetworks.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
* travis: Allow testsuite to run with GCC or Clang.Ben Pfaff2014-09-191-6/+7
| | | | | | | I don't see why the testsuite is supported only with GCC. Acked-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* travis: Include testsuite.log on failure.Ben Pfaff2014-09-191-1/+7
| | | | | Acked-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* travis: Fix DPDK build and treat bad-function-cast warning as non-errorThomas Graf2014-09-111-4/+10
| | | | | | | | | | | | | | | | A missing " prevented the DPDK build in the matrix from functioning so far. This patch enables the DPDK build by properly building DPDK as a single library and by pointing the OVS build to the corresponding build directory. Also removes the 'make install' as it is not required and only slows down the build. Due to incorrect casts in the DPDK headers, we have to disable bad-function-cast and cast-align warnings as being treated as errors for now. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Co-authored-by: Daniele Di Proietto <ddiproietto@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* travis: Run 'make distcheck' instead of 'make check'Thomas Graf2014-08-301-1/+1
| | | | | | | | | make distcheck runs a superset of make check and will additionally catch failures in adding new files to the Makefile. It will also test installation and uninstallation of the package. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* build: Use errtrace to simplify travis-ci failure detectionThomas Graf2014-08-261-23/+20
| | | | | | | | Causes the build script to fail if any command inside the script returns nonzero. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* build: Add travis continuous integration supportThomas Graf2014-08-252-0/+63
This enables the use of travis-ci via github. Linking any ovs github repo to travis-ci [0] will automatically lead to a build and testsuite run being triggered for each new commit or pull requests against the repo. The introduction of any warnings will cause the build to fail as both gcc and clang are invoked with -Werror. The build matrix currently includes: * --disable-ssl * --with-linux=linux-3.14.7 * --with-dpdk=1.7.0 Each of these builds is performed with gcc+sparse and clang. The testsuite is only run for the --with-linux build to keep the total build time on an acceptable level. Build failures are reported to the author and commiter by email, through the travis-ci web UI, and in the github pull request. A full build report example can be found here [1] [0] http://travis-ci.org/ [1] https://travis-ci.org/tgraf/ovs/builds/33485228 Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>