summaryrefslogtreecommitdiff
path: root/.travis
Commit message (Collapse)AuthorAgeFilesLines
* travis: Work around glibtoolize error.Joe Stringer2016-09-211-0/+2
| | | | | Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Lance Richardson <lrichard@redhat.com>
* datapath: Add support for kernel 4.7Pravin B Shelar2016-08-221-0/+12
| | | | | Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Jesse Gross <jesse@kernel.org>
* netdev-dpdk: Add support for DPDK 16.07Ciara Loftus2016-08-031-1/+1
| | | | | | | | | | | | | | | This commit introduces support for DPDK 16.07 and consequently breaks compatibility with DPDK 16.04. DPDK 16.07 introduces some changes to various APIs. These have been updated in OVS, including: * xstats API: changes to structure of xstats * vhost API: replace virtio-net references with 'vid' Signed-off-by: Ciara Loftus <ciara.loftus@intel.com> Tested-by: Maxime Coquelin <maxime.coquelin@redhat.com> Tested-by: Robert Wojciechowicz <robertx.wojciechowicz@intel.com> Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
* travis: Fix flake8 failures from flake8 3.0.Russell Bryant2016-07-291-1/+5
| | | | | | | | | The "hacking" plugin for flake8 is not currently compatible with flake8 3.0. Ensure that we install flake8 2.x on travis-ci. Also update the docs to indicate this incompatibility. Signed-off-by: Russell Bryant <russell@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org>
* Travis: Added python plugins flake8 and hacking.William Townsend2016-07-021-1/+1
| | | | | | | | | Travis builds will now automatically run flake8 and hacking checks against Python code and generate warnings. Signed-off-by: William Townsend <wtownsen@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Flavio Fernandes <flavio@flaviof.com>
* Update relevant artifacts to add support for DPDK 16.04.mweglicx2016-04-151-2/+1
| | | | | | | | | | | | | | | | | | Following changes are applied: - INSTALL.DPDK.md: CONFIG_RTE_BUILD_COMBINE_LIBS step has been removed because it is no longer present in DPDK configuration (combined library is created by default), - INSTALL.DPDK.md: VHost Cuse configuration is updated, - netdev-dpdk.c: Link speed definition is changed in DPDK and netdev_dpdk_get_features is updated accordingly, - netdev-dpdk.c: TSO and checksum offload has been disabled for vhostuser device. - .travis/linux-build.sh: DPDK version is updated and legacy flags have been removed in configuration. Signed-off-by: Michal Weglicki <michalx.weglicki@intel.com> Signed-off-by: Panu Matilainen <pmatilai@redhat.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
* travis: support OS X buildsLance Richardson2016-03-234-0/+31
| | | | | | | | | | | | Add support for travis-ci OS X builds: - Add linux- prefix to existing build/prepare scripts - Create new OS X flavored build/prepare scripts - Update .travis.yml for OS X At this time only one build job included in the matrix for OS X. Signed-off-by: Lance Richardson <lrichard@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* travis: Automatically recheck failed tests.Ben Pfaff2016-02-241-1/+1
| | | | | | | | | This should make the automatic testsuite more reliable on Travis. It's better to fix tests to be more reliable, of course, but in practie it's difficult to make all of them 100% reliable. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org>
* Update relevant artifacts to add support for DPDK v2.2.0.mweglicx2016-01-251-1/+1
| | | | | | | | | Following changes have been applied: - INSTALL.DPDK.md: change DPDK version number, - build.sh: change DPDK version number. Signed-off-by: Michal Weglicki <michalx.weglicki@intel.com> Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
* travis: Install six Python library.Russell Bryant2016-01-211-0/+1
| | | | | | | | | The travis-ci build is broken because the Python six library is not installed. Signed-off-by: Russell Bryant <russell@ovn.org> Tested-by: Joe Stringer <joe@ovn.org> Acked-by: Joe Stringer <joe@ovn.org>
* travis: Use container infrastructure.Daniele Di Proietto2015-09-291-8/+1
| | | | | | | | | | | | | | | | | | | | | Recently some testcases have been failing in travis because of a warning related to the use of an L3 device (OpenVZ specific) inside the workers. To get travis tests working again we can move to the newer container infrastructure: this commit does that. The disadvantage is that there's no sudo access anymore, but we can install packages with the apt plugin, and we shouldn't use root for anything else Also, since we're building DPDK with vhost-user (not vhost-cuse), libfuse-dev is not needed anymore. Tested-at: https://travis-ci.org/ddiproietto/ovs/builds/81764972 Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> CC: Joe Stringer <joestringer@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* travis: Fix build with --enable-shared and DPDK 2.1.Daniele Di Proietto2015-09-091-3/+1
| | | | | | | | | | | | | | | | | | When building OVS with --enable-shared, -fPIC should be used in DPDK CFLAGS. We used to add a custom option for this (CONFIG_RTE_BUILD_FPIC) to the DPDK configuration, right after CONFIG_RTE_LIBNAME. Since CONFIG_RTE_LIBNAME has been removed, it seems simpler to add our custom option at the end of the file. Furthermore, since vhost support is enabled by default in DPDK 2.1 and vhost-user is OVS primary target, there's no need to customize the vhost related option anymore. Tested-at: https://travis-ci.org/ddiproietto/ovs/builds/79451461 Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Ben Pfaff <blp@nicira.com>
* dpdk: add support for v2.1.0Timo Puha2015-09-081-1/+1
| | | | | | | | | | | | | | | | | | | | Update relevant artifacts to add support for DPDK v2.1.0 - INSTALL.DPDK.md - acinclude.m4: Change DPDK library name - netdev-dpdk: Limit minimum mbuf size to to adapt to DPDK bug fix that changes the treatment of the requested mbuf size - build.sh: Change DPDK version number Note that this breaks compatibility with DPDK v2.0.0 although only for the library name change. Note that throughput for vhost ports with mergeable buffers is reduced about 10% due to a necessary bug fix in DPDK vhost code. Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Signed-off-by: Michal Weglicki <michalx.weglicki@intel.com> Signed-off-by: Timo Puha <timox.puha@intel.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
* 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>