diff options
author | Wu Xiaotian <[email protected]> | 2019-02-06 14:15:48 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-02-06 12:07:14 +0100 |
commit | 78b7682753b6b6c329f739880e9894f2840499bd (patch) | |
tree | 58ada12ddbb3cfb438833a82b747ebee96f78aa9 | |
parent | 91f1dc66b6f56e57734d3048501a6c4679331290 (diff) | |
download | caja-78b7682753b6b6c329f739880e9894f2840499bd.tar.bz2 caja-78b7682753b6b6c329f739880e9894f2840499bd.tar.xz |
update travis to support archlinux and enable distcheck
-rw-r--r-- | .travis.yml | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index c8d11b4d..f2a830f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,6 @@ language: bash services: - docker -# The branch just for test. -#branches: -# only: -# - travis - before_install: - curl -L -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build - chmod +x docker-build @@ -21,7 +16,8 @@ script: - ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools env: - - DISTRO="debian:buster" + - DISTRO="base/archlinux" + - DISTRO="debian:sid" - DISTRO="fedora:29" - DISTRO="ubuntu:18.10" @@ -29,6 +25,22 @@ env: # THE FOLLOWING LINES IS USED BY docker-build ########################################################## requires: + archlinux: + # Useful URL: https://git.archlinux.org/svntogit/community.git/tree/caja + - gcc + - git + - make + # Append new requires below + - exempi + - gobject-introspection + - gvfs + - intltool + - libexif + - libnotify + - libsm + - mate-common + - mate-desktop + debian: # Useful URL: https://github.com/mate-desktop/debian-packages # Useful URL: https://salsa.debian.org/debian-mate-team/caja @@ -101,9 +113,8 @@ requires: - shared-mime-info # Uncomment the following lines to get more compile warnings -#variables: -# - CFLAGS="-Wall" +variables: + - CFLAGS="-Wall -Werror=format-security" -# NOTE: `make distcheck` will fail in an environment without X display -#after_scripts: -# - if [ `systemd-detect-virt` != "kvm" -a "$BUILD_TYPE" == "autotools" ]; then make distcheck;fi +after_scripts: + - make distcheck |