diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2016-02-25 10:25:19 -0800 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2016-02-25 10:25:19 -0800 |
commit | 118dac7ba41283c8d139576fef0e63c8e1c6a9cd (patch) | |
tree | 8f7ceec73cfedd75120765a59bc70304a0b06a40 /.travis.yml | |
parent | 6e05325ab2353e95e20e9c5fe610a28a4c4d231d (diff) | |
download | libusb-118dac7ba41283c8d139576fef0e63c8e1c6a9cd.tar.gz |
travis: Update config file
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>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 59eba91..fe1b361 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,9 +10,8 @@ os: - osx before_install: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then apt-get install -qq libudev-dev ; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then apt-get update -qq && apt-get install -qq libudev-dev; fi -install: - - ./autogen.sh - - ./configure - - make -j4 +script: + - ./autogen.sh && make -j4 + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./autogen.sh --disable-udev && make -j4; fi |