diff options
author | Ludovic Rousseau <ludovic.rousseau@free.fr> | 2017-01-04 17:51:04 +0100 |
---|---|---|
committer | Ludovic Rousseau <ludovic.rousseau@free.fr> | 2017-01-04 17:51:04 +0100 |
commit | 83ef455532ed03ec8d7b53d3c781eebfed9f0d13 (patch) | |
tree | c59d75417f03a98d3b8dc047234d031e945dc3c7 /.travis.yml | |
parent | f3a9060d19cac341581f4a4e1877054dbb606a00 (diff) | |
download | libusb-83ef455532ed03ec8d7b53d3c781eebfed9f0d13.tar.gz |
travis: make clean before building
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.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index eb08224..bb9e47a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,6 @@ before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew upgrade automake libtool ; true; fi script: - - ./autogen.sh && make -j4 - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis-autogen.sh --disable-udev && make -j4; fi + - ./autogen.sh && make clean && make -j4 + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis-autogen.sh --disable-udev && make clean && make -j4; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd Xcode && xcodebuild -project libusb.xcodeproj ; fi |