2014-02-26 10:08:41 -06:00
|
|
|
language: c
|
|
|
|
|
2016-03-12 16:44:50 -06:00
|
|
|
sudo: required
|
2020-06-28 12:58:07 -05:00
|
|
|
dist: bionic
|
2016-03-12 16:44:50 -06:00
|
|
|
|
2014-05-10 23:49:02 -05:00
|
|
|
git:
|
|
|
|
depth: 1500
|
|
|
|
|
2014-02-26 10:08:41 -06:00
|
|
|
compiler:
|
2020-06-29 08:56:06 -05:00
|
|
|
- gcc-10
|
2020-06-29 09:40:19 -05:00
|
|
|
- clang-10
|
2014-02-26 10:08:41 -06:00
|
|
|
|
2014-05-12 06:50:25 -05:00
|
|
|
env:
|
|
|
|
- MAKE_CHECK="nonroot"
|
|
|
|
- MAKE_CHECK="root"
|
2014-06-01 17:58:01 -05:00
|
|
|
- MAKE_CHECK="dist"
|
2014-05-12 06:50:25 -05:00
|
|
|
|
2020-07-13 11:01:47 -05:00
|
|
|
stages:
|
|
|
|
- name: Coverity
|
|
|
|
if: type = cron
|
|
|
|
- name: Test
|
|
|
|
if: type != cron
|
|
|
|
|
|
|
|
jobs:
|
2016-03-12 16:44:50 -06:00
|
|
|
include:
|
2017-06-15 01:56:43 -05:00
|
|
|
# test old Ubuntu 12.04 and OSX for compatibility
|
|
|
|
- dist: precise
|
2016-03-12 16:44:50 -06:00
|
|
|
compiler: gcc
|
|
|
|
env: PRECISE="yes" MAKE_CHECK="root"
|
2016-03-12 16:45:00 -06:00
|
|
|
- os: osx
|
2020-07-10 10:21:42 -05:00
|
|
|
osx_image: xcode9.4
|
2016-03-12 16:45:00 -06:00
|
|
|
compiler: clang
|
2018-03-06 16:58:41 -06:00
|
|
|
env: MAKE_CHECK="root"
|
2020-07-02 03:08:41 -05:00
|
|
|
- arch: arm64
|
|
|
|
compiler: gcc-10
|
|
|
|
env: MAKE_CHECK="root"
|
|
|
|
- arch: ppc64le
|
|
|
|
compiler: gcc-10
|
|
|
|
env: MAKE_CHECK="root"
|
|
|
|
- arch: s390x
|
|
|
|
compiler: gcc-10
|
|
|
|
env: MAKE_CHECK="root"
|
2020-07-13 11:01:47 -05:00
|
|
|
- stage: Coverity
|
|
|
|
compiler: gcc
|
|
|
|
env:
|
|
|
|
# Generated with `travis encrypt -r karelzak/util-linux COVERITY_SCAN_TOKEN=***`
|
|
|
|
- secure: cqwhidkCY+BckuBwmBevstLCHJm9aS2pQnYB3xGiz9JeqwW/x5h9pMElQdTFWw3AD2p5DzKzuW9nUtqNVzMSUWdPBrQGeuBT5tJW5eFeP/9mb5CG1/+w5xzOaZ/+3CK0gtcMSyRhGl2NeuLlimj6hzy37cUTSmBVHzGMZLD51As=
|
2016-03-12 16:44:50 -06:00
|
|
|
|
2014-09-09 08:53:37 -05:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-10-24 06:02:59 -05:00
|
|
|
- next
|
2014-09-09 08:53:37 -05:00
|
|
|
- /^stable.*/
|
2018-10-24 06:02:59 -05:00
|
|
|
- /^topic.*/
|
2015-03-16 06:20:53 -05:00
|
|
|
- /^travis.*/
|
2014-09-09 08:53:37 -05:00
|
|
|
|
2015-12-17 07:04:57 -06:00
|
|
|
before_install:
|
2016-02-15 11:15:58 -06:00
|
|
|
# print some host info
|
|
|
|
- env | grep -v "encrypted" | LC_ALL=C sort
|
2015-12-17 07:10:17 -06:00
|
|
|
# workaround travis-ci issue #5301
|
|
|
|
- unset PYTHON_CFLAGS
|
2015-12-17 07:04:57 -06:00
|
|
|
|
2014-02-26 10:08:41 -06:00
|
|
|
install:
|
2015-03-16 05:21:49 -05:00
|
|
|
- source ./.travis-functions.sh
|
|
|
|
- travis_install_script
|
2014-02-26 10:08:41 -06:00
|
|
|
|
|
|
|
before_script:
|
2014-06-01 17:58:01 -05:00
|
|
|
- travis_before_script
|
2014-02-26 10:08:41 -06:00
|
|
|
|
|
|
|
script:
|
2014-06-01 17:58:01 -05:00
|
|
|
- travis_script
|
2014-02-26 10:08:41 -06:00
|
|
|
|
|
|
|
after_script:
|
2014-06-01 17:58:01 -05:00
|
|
|
- travis_after_script
|
2014-08-20 14:06:58 -05:00
|
|
|
|