util-linux/.travis.yml

44 lines
653 B
YAML

language: c
git:
depth: 1500
compiler:
- gcc
- clang
env:
- MAKE_CHECK="nonroot"
- MAKE_CHECK="root"
- MAKE_CHECK="dist"
branches:
only:
- master
- /^stable.*/
- /^travis.*/
before_install:
# print some host info
- env | grep -v "encrypted" | LC_ALL=C sort
- $CC --version
- which $CC
# workaround clang not system wide, fail on sudo make install
- export CC=`which $CC`
# workaround travis-ci issue #5301
- unset PYTHON_CFLAGS
install:
- source ./.travis-functions.sh
- travis_install_script
before_script:
- travis_before_script
script:
- travis_script
after_script:
- travis_after_script