Nathan Hjelm | 26bb407 | 2016-02-25 09:55:25 -0700 | [diff] [blame] | 1 | language: c |
| 2 | |
Chris Dickens | 1ce667f | 2020-03-31 15:47:31 -0700 | [diff] [blame] | 3 | git: |
| 4 | depth: 1 |
| 5 | |
Nathan Hjelm | 9a5a813 | 2016-10-01 07:42:30 -0600 | [diff] [blame] | 6 | matrix: |
| 7 | include: |
| 8 | - os: linux |
Chris Dickens | ab5dcf4 | 2020-11-09 11:01:10 -0800 | [diff] [blame] | 9 | dist: focal |
| 10 | compiler: clang |
| 11 | - os: linux |
| 12 | dist: focal |
| 13 | compiler: gcc |
| 14 | - os: linux |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 15 | dist: bionic |
Chris Dickens | 1ce667f | 2020-03-31 15:47:31 -0700 | [diff] [blame] | 16 | compiler: clang |
Nathan Hjelm | 2da3345 | 2016-10-01 08:12:19 -0600 | [diff] [blame] | 17 | - os: linux |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 18 | dist: bionic |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 19 | compiler: gcc |
| 20 | - os: linux |
| 21 | dist: xenial |
Nathan Hjelm | 2da3345 | 2016-10-01 08:12:19 -0600 | [diff] [blame] | 22 | compiler: clang |
Chris Dickens | 1ce667f | 2020-03-31 15:47:31 -0700 | [diff] [blame] | 23 | - os: linux |
| 24 | dist: xenial |
Nathan Hjelm | 2da3345 | 2016-10-01 08:12:19 -0600 | [diff] [blame] | 25 | compiler: gcc |
Nathan Hjelm | 9a5a813 | 2016-10-01 07:42:30 -0600 | [diff] [blame] | 26 | - os: osx |
Chris Dickens | ab5dcf4 | 2020-11-09 11:01:10 -0800 | [diff] [blame] | 27 | osx_image: xcode12.2 |
| 28 | compiler: clang |
| 29 | - os: osx |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 30 | osx_image: xcode11.3 |
Nathan Hjelm | 2da3345 | 2016-10-01 08:12:19 -0600 | [diff] [blame] | 31 | compiler: clang |
Nathan Hjelm | 9a5a813 | 2016-10-01 07:42:30 -0600 | [diff] [blame] | 32 | - os: osx |
Chris Dickens | 9a1bc8c | 2020-03-30 12:28:11 -0700 | [diff] [blame] | 33 | osx_image: xcode9.4 |
Nathan Hjelm | 2da3345 | 2016-10-01 08:12:19 -0600 | [diff] [blame] | 34 | compiler: clang |
Nathan Hjelm | 09f212b | 2016-02-25 21:36:26 -0700 | [diff] [blame] | 35 | |
| 36 | addons: |
| 37 | apt: |
Nathan Hjelm | 6de66bb | 2016-02-25 21:51:10 -0700 | [diff] [blame] | 38 | packages: |
| 39 | - autoconf |
| 40 | - automake |
| 41 | - libtool |
Nathan Hjelm | 6de66bb | 2016-02-25 21:51:10 -0700 | [diff] [blame] | 42 | - libudev-dev |
Chris Dickens | 1ce667f | 2020-03-31 15:47:31 -0700 | [diff] [blame] | 43 | - m4 |
| 44 | homebrew: |
| 45 | packages: |
| 46 | - autoconf |
| 47 | - automake |
| 48 | - libtool |
| 49 | - m4 |
Chris Dickens | 1ce667f | 2020-03-31 15:47:31 -0700 | [diff] [blame] | 50 | |
| 51 | before_script: |
| 52 | - ./bootstrap.sh |
Nathan Hjelm | 37df2f9 | 2016-02-25 10:12:55 -0700 | [diff] [blame] | 53 | |
Chris Dickens | 118dac7 | 2016-02-25 10:25:19 -0800 | [diff] [blame] | 54 | script: |
Chris Dickens | 1ce667f | 2020-03-31 15:47:31 -0700 | [diff] [blame] | 55 | - if [ "$TRAVIS_OS_NAME" = "linux" ]; then .private/ci-build.sh --build-dir build-netlink -- --disable-udev; fi |
| 56 | - if [ "$TRAVIS_OS_NAME" = "linux" ]; then .private/ci-build.sh --build-dir build-udev -- --enable-udev; fi |
| 57 | - if [ "$TRAVIS_OS_NAME" = "osx" ]; then .private/ci-build.sh --build-dir build; fi |
| 58 | - if [ "$TRAVIS_OS_NAME" = "osx" ]; then cd Xcode && xcodebuild -project libusb.xcodeproj; fi |