summaryrefslogtreecommitdiff
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* travis: Turn off Homebrew updatesChris Dickens2020-12-191-1/+0
| | | | | | | | | The builds no longer succeed on the xcode9.4 image because updating Homebrew takes too much time. The packages we need from Homebrew are not frequently updated, so using the latest formulae that the image provides should be sufficient. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* travis: Update build environmentsChris Dickens2020-11-091-3/+9
| | | | | | | | | | Add Ubuntu's Focal distribution to get the latest Linux toolchain. Add Xcode 12.2 to get the latest MacOS toolchain. Remove Xcode 7.3 as it is now obsolete and will not successfully build. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* Move CI-related files into .private directory and add unified build scriptChris Dickens2020-03-311-22/+22
| | | | | | | | | | | | | | | | | | | | The files needed for Continuous Integration (AppVeyor, Travis) are not meant for public consumption, so clean up the root directory by moving these files underneath .private. Create a single build script that is leveraged by both AppVeyor and Travis. This script replaces the previous 'travis-autogen.sh' file and enables additional compiler warnings that should provide additional coverage for all build environments. Update the Travis configuration file to absorb the Brewfile and update the Xcode images. Per warnings from Travis, Xcode6.4 is obsolete, thus replace it with Xcode7.3. Additionally remove the "gcc" variants for the macOS builds. The builds never used gcc to begin with and actually using gcc causes build errors due to Clang-specific pragmas in the IOKit header files. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* build: Enable additional build errors and warningsChris Dickens2020-03-301-2/+2
| | | | | | | | | | | Help catch more errors by enabling additional build errors and warnings. Address some of the warnings seen with these new flags, including moving the libusb_transfer structure back out of the usbi_transfer structure to address 'warning: invalid use of structure with flexible array member'. Apparently a structure ending with a flexible array member is not okay with the compiler as the last member within another structure. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* build: Require C11 to build and clean up autoconfig/automake filesChris Dickens2020-03-301-10/+14
| | | | | | | | | | | | | | | | | | | | | | | C11 compiler support has been available for many years now. It is not unreasonable to require this now, and doing so allows some cleanup to the configure script. It is no longer necessary to check for compiler support of the '-fvibility' flag because any compiler that supports C11 will support this flag as well. Fix up the way that compiler and linker flags are passed down to the various makefiles. The compiler flags should be shared by all, but the linker flags and libraries should be separated between the library and the examples/tests. The visibility flag is only relevant for the library and the thread flags are only relevant for sources using thread constructs, so provide them as needed. Rearrange configure.ac to group similar functionality and consolidate where possible. Based on these changes, update the Travis configuration file to include newer versions of test platforms to ensure proper C11 compiler support. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* use travis homebrew addon for reliabilityStephen2019-01-081-4/+3
| | | | | | Closes #513 Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* Move to brew bundleStephen2018-07-091-3/+2
| | | | improved dependency management with brew bundle
* travis: do not use parallel compilationsLudovic Rousseau2017-01-041-2/+2
| | | | | The goal is not to be fast but to get a clean log with not mixed messages between 2 compilations executed at the same time.
* travis: make clean before buildingLudovic Rousseau2017-01-041-2/+2
| | | | | | | | | Call "make clean" to be sure the compilation will be done even if some files were already compiled. The problem was that the travis script does a double ./configure + build on Linux. The second build just did nothing since the files were already compiled.
* fix travis matrix buildNathan Hjelm2016-10-011-11/+25
| | | | Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* try to get travis building with multiple macOS versionsNathan Hjelm2016-10-011-7/+12
| | | | Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* travis osx fixNathan Hjelm2016-10-011-0/+3
| | | | Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* configure: bump autoconf version and remove obsolete AM_MAINTAINER_MODENathan Hjelm2016-03-111-0/+2
| | | | | | | | | | | | This commit bumps the minimum autoconf version to 2.69. This only affects maintainers and will ensure libusb tarballs have up-to-date configure scripts. At the same time we are removing the AM_MAINTAINER_MODE macro as even its creator recommends against using it. Closes #122 Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* travis-CI: fails compilation on warningLudovic Rousseau2016-03-021-1/+1
| | | | | The travis-autogen.sh script enable some extra warnings not used by default. The idea is to detect problem as early as possible.
* travis: one more fix. need packages under aptNathan Hjelm2016-02-251-7/+8
| | | | Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* travis: sources line is neededNathan Hjelm2016-02-251-0/+2
| | | | Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* travis: bah. remove tabsNathan Hjelm2016-02-251-4/+4
| | | | Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* travis: use addons to install packagesNathan Hjelm2016-02-251-2/+8
| | | | Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* travis: test xcode projectNathan Hjelm2016-02-251-0/+1
| | | | Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* travis: Add sudo to apt-get commandsChris Dickens2016-02-251-1/+1
| | | | Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* travis: Update config fileChris Dickens2016-02-251-5/+4
| | | | | | | Use 'script' instead of 'install' to specify build command. Add linux build option with udev disabled. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* travis: fix typoNathan Hjelm2016-02-251-1/+1
| | | | Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* travis: ensure udev is installedNathan Hjelm2016-02-251-0/+4
| | | | Signed-off-by: Nathan Hjelm <hjelmn@me.com>
* Add Travis CI configurationNathan Hjelm2016-02-251-0/+14
Signed-off-by: Nathan Hjelm <hjelmn@me.com>