]> git.ipfire.org Git - thirdparty/util-linux.git/blob - .travis.yml
travis: build util-linux on arm64, ppc64le and s390x
[thirdparty/util-linux.git] / .travis.yml
1 language: c
2
3 sudo: required
4 dist: bionic
5
6 git:
7 depth: 1500
8
9 compiler:
10 - gcc-10
11 - clang-10
12
13 env:
14 - MAKE_CHECK="nonroot"
15 - MAKE_CHECK="root"
16 - MAKE_CHECK="dist"
17
18 matrix:
19 include:
20 # test old Ubuntu 12.04 and OSX for compatibility
21 - dist: precise
22 compiler: gcc
23 env: PRECISE="yes" MAKE_CHECK="root"
24 - os: osx
25 osx_image: xcode7.3
26 compiler: clang
27 env: MAKE_CHECK="root"
28 - arch: arm64
29 compiler: gcc-10
30 env: MAKE_CHECK="root"
31 - arch: ppc64le
32 compiler: gcc-10
33 env: MAKE_CHECK="root"
34 - arch: s390x
35 compiler: gcc-10
36 env: MAKE_CHECK="root"
37
38 branches:
39 only:
40 - master
41 - next
42 - /^stable.*/
43 - /^topic.*/
44 - /^travis.*/
45
46 before_install:
47 # print some host info
48 - env | grep -v "encrypted" | LC_ALL=C sort
49 # workaround travis-ci issue #5301
50 - unset PYTHON_CFLAGS
51
52 install:
53 - source ./.travis-functions.sh
54 - travis_install_script
55
56 before_script:
57 - travis_before_script
58
59 script:
60 - travis_script
61
62 after_script:
63 - travis_after_script
64