util-linux/.travis.yml
Ruediger Meier cf76bbae48 travis: minor cosmetics
This is just to make the diff to my private travis script a bit smaller.

Now we always use $CC _after_ the install script which makes it possible
to install/update the compiler in the install section.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2017-06-15 09:13:14 +02:00

54 lines
811 B
YAML

language: c
sudo: required
dist: trusty
git:
depth: 1500
compiler:
- gcc
- clang
env:
- MAKE_CHECK="nonroot"
- MAKE_CHECK="root"
- MAKE_CHECK="dist"
matrix:
include:
# test old Ubuntu 12.04 and OSX for compatibility
- dist: precise
compiler: gcc
env: PRECISE="yes" MAKE_CHECK="root"
- os: osx
osx_image: xcode7.3
compiler: clang
env: MAKE_CHECK="nonroot"
branches:
only:
- master
- /^stable.*/
- /^travis.*/
before_install:
# print some host info
- env | grep -v "encrypted" | LC_ALL=C sort
# 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