diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2019-12-15 17:50:27 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2019-12-16 09:49:03 +0000 |
commit | e40b1f72adf06793b8b9ef94d8bef46f7aba0f04 (patch) | |
tree | ebfbf5e9c4abe03c8c62e0509937a5bd6dab3095 /.travis.yml | |
parent | 4badb00e44b3648bb586ea66c6783f712b49ea26 (diff) |
Add initial Travis CI support
This runs "make distcheck" using gcc-9, gcc-8, gcc-7, and clang
on x86_64, x86, x32, aarch64, s390x, and ppc64le architectures.
* .travis.yml: New file.
* ci/install-dependencies.sh: Likewise.
* ci/run-build-and-tests.sh: Likewise.
Resolves: https://github.com/linux-pam/linux-pam/issues/28
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..ae627ed4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,115 @@ +language: c + +dist: bionic + +before_install: ci/install-dependencies.sh + +script: ci/run-build-and-tests.sh + +sudo: required + +git: + depth: 2147483647 + +env: + global: + - VERBOSE=1 + +matrix: + include: + - compiler: gcc + arch: amd64 + env: + - TARGET=x86_64 + - compiler: gcc-9 + arch: amd64 + env: + - TARGET=x86_64 + - compiler: gcc-8 + arch: amd64 + env: + - TARGET=x86_64 + - compiler: clang + arch: amd64 + env: + - TARGET=x86_64 + - compiler: gcc + arch: amd64 + env: + - TARGET=x86 + - compiler: gcc-9 + arch: amd64 + env: + - TARGET=x86 + - compiler: gcc-8 + arch: amd64 + env: + - TARGET=x86 + - compiler: clang + arch: amd64 + env: + - TARGET=x86 + - compiler: gcc + arch: amd64 + env: + - TARGET=x32 + - compiler: gcc-9 + arch: amd64 + env: + - TARGET=x32 + - compiler: gcc-8 + arch: amd64 + env: + - TARGET=x32 + - compiler: clang + arch: amd64 + env: + - TARGET=x32 + - compiler: gcc + arch: arm64 + env: + - TARGET=aarch64 + - compiler: gcc-9 + arch: arm64 + env: + - TARGET=aarch64 + - compiler: gcc-8 + arch: arm64 + env: + - TARGET=aarch64 + - compiler: clang + arch: arm64 + env: + - TARGET=aarch64 + - compiler: gcc + arch: s390x + env: + - TARGET=s390x + - compiler: gcc-9 + arch: s390x + env: + - TARGET=s390x + - compiler: gcc-8 + arch: s390x + env: + - TARGET=s390x + - compiler: clang + arch: s390x + env: + - TARGET=s390x + - compiler: gcc + arch: ppc64le + env: + - TARGET=ppc64le + - compiler: gcc-9 + arch: ppc64le + env: + - TARGET=ppc64le + - compiler: gcc-8 + arch: ppc64le + env: + - TARGET=ppc64le + - compiler: clang + arch: ppc64le + env: + - TARGET=ppc64le |