summaryrefslogtreecommitdiff
path: root/travis-autogen.sh
Commit message (Collapse)AuthorAgeFilesLines
* Move CI-related files into .private directory and add unified build scriptChris Dickens2020-03-311-22/+0
| | | | | | | | | | | | | | | | | | | | 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-19/+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>
* travis: Pass on arguments given to travis_autogen.shChris Dickens2017-02-281-1/+1
| | | | Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* travis: remove -fdiagnostics-color=autoLudovic Rousseau2017-01-041-1/+0
| | | | | -fdiagnostics-color=auto is not supported bug gcc version 4.8.4 gcc: error: unrecognized command line option '-fdiagnostics-color=auto'
* travis: remove -WerrorLudovic Rousseau2017-01-041-2/+1
| | | | | | | | | | Using -Werror in CFLAGS make ./configure to fails with: checking whether the C compiler works... no configure: error: in `/home/travis/build/LudovicRousseau/libusb': configure: error: C compiler cannot create executables See `config.log' for more details -Werror had no effect because CFLAGS was _not_ exported.
* travis: use bash for travis-autogen.shLudovic Rousseau2017-01-041-1/+1
| | | | | | | Problem was: ./travis-autogen.sh: 6: ./travis-autogen.sh: CFLAGS+= -Wbad-function-cast: not found ./travis-autogen.sh: 8: ./travis-autogen.sh: CFLAGS+= -Wchar-subscripts: not found [...]
* travis-CI: fails compilation on warningLudovic Rousseau2016-03-021-0/+41
The travis-autogen.sh script enable some extra warnings not used by default. The idea is to detect problem as early as possible.