diff options
author | Pablo Barciela <[email protected]> | 2020-02-23 13:14:10 +0100 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-02-23 13:34:03 +0100 |
commit | ef88b2525eba2fbc70bc0c32d90cf4f7a18e2899 (patch) | |
tree | db5f979375b5f2360b2e748406788317999f0dc3 | |
parent | 99dfa357296fae23e13a24386944e2ddde847e67 (diff) | |
download | mate-session-manager-ef88b2525eba2fbc70bc0c32d90cf4f7a18e2899.tar.bz2 mate-session-manager-ef88b2525eba2fbc70bc0c32d90cf4f7a18e2899.tar.xz |
Travis CI: Fix build error, add .build.yml
-rw-r--r-- | .build.yml | 99 | ||||
-rw-r--r-- | .travis.yml | 106 |
2 files changed, 102 insertions, 103 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..7657228 --- /dev/null +++ b/.build.yml @@ -0,0 +1,99 @@ +########################################################## +# THE FOLLOWING LINES IS USED BY docker-build +########################################################## +requires: + archlinux: + # Useful URL: https://git.archlinux.org/svntogit/community.git/tree/mate-session-manager + - dbus-glib + - gcc + - git + - gtk3 + - intltool + - libsm + - make + - mate-common + - mate-desktop + - python + - systemd + - which + - xtrans + + debian: + # Useful URL: https://github.com/mate-desktop/debian-packages + # Useful URL: https://salsa.debian.org/debian-mate-team/mate-session-manager + - git + - intltool + - libdbus-glib-1-dev + - libglib2.0-dev + - libgtk-3-dev + - libice-dev + - libsm-dev + - libstartup-notification0-dev + - libsystemd-dev + - libx11-dev + - libxau-dev + - libxext-dev + - libxrender-dev + - libxt-dev + - libxtst-dev + - make + - mate-common + - xmlto + - xsltproc + + fedora: + # Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-session-manager.git + - dbus-glib-devel + - desktop-file-utils + - gcc + - git + - gtk3-devel + - libSM-devel + - libXtst-devel + - make + - mate-common + - pangox-compat-devel + - redhat-rpm-config + - systemd-devel + - xmlto + - xorg-x11-xtrans-devel + + ubuntu: + - git + - intltool + - libdbus-glib-1-dev + - libglib2.0-dev + - libgtk-3-dev + - libice-dev + - libsm-dev + - libstartup-notification0-dev + - libsystemd-dev + - libx11-dev + - libxau-dev + - libxext-dev + - libxrender-dev + - libxt-dev + - libxtst-dev + - make + - mate-common + - xmlto + - xsltproc + +variables: + - CFLAGS="-Wall -Werror=format-security" + +after_scripts: + - make distcheck + +releases: + draft: false + prerelease: false + checksum: true + file_glob: true + files: mate-session-manager-*.tar.xz + github_release: + tags: true + overwrite: true + base_version: 1.20.0 + notify_servers: + - https://release.mate-desktop.org/release diff --git a/.travis.yml b/.travis.yml index bddca0c..02f08c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,14 +13,14 @@ install: - sudo apt-get install -y python3-pip python3-setuptools - sudo pip3 install --upgrade pip - sudo pip install PyGithub - - ./docker-build --name ${DISTRO} --config .travis.yml --install + - ./docker-build --name ${DISTRO} --config .build.yml --install script: - - ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools + - ./docker-build --name ${DISTRO} --verbose --config .build.yml --build autotools deploy: - provider: script - script: ./docker-build --verbose --config .travis.yml --release github + script: ./docker-build --verbose --config .build.yml --release github skip_cleanup: true on: tags: true @@ -31,103 +31,3 @@ env: - DISTRO="debian:testing" - DISTRO="fedora:latest" - DISTRO="ubuntu:19.10" - -########################################################## -# THE FOLLOWING LINES IS USED BY docker-build -########################################################## -requires: - archlinux: - # Useful URL: https://git.archlinux.org/svntogit/community.git/tree/mate-session-manager - - dbus-glib - - gcc - - git - - gtk3 - - intltool - - libsm - - make - - mate-common - - mate-desktop - - python - - systemd - - which - - xtrans - - debian: - # Useful URL: https://github.com/mate-desktop/debian-packages - # Useful URL: https://salsa.debian.org/debian-mate-team/mate-session-manager - - git - - intltool - - libdbus-glib-1-dev - - libglib2.0-dev - - libgtk-3-dev - - libice-dev - - libsm-dev - - libstartup-notification0-dev - - libsystemd-dev - - libx11-dev - - libxau-dev - - libxext-dev - - libxrender-dev - - libxt-dev - - libxtst-dev - - make - - mate-common - - xmlto - - xsltproc - - fedora: - # Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-session-manager.git - - dbus-glib-devel - - desktop-file-utils - - gcc - - git - - gtk3-devel - - libSM-devel - - libXtst-devel - - make - - mate-common - - pangox-compat-devel - - redhat-rpm-config - - systemd-devel - - xmlto - - xorg-x11-xtrans-devel - - ubuntu: - - git - - intltool - - libdbus-glib-1-dev - - libglib2.0-dev - - libgtk-3-dev - - libice-dev - - libsm-dev - - libstartup-notification0-dev - - libsystemd-dev - - libx11-dev - - libxau-dev - - libxext-dev - - libxrender-dev - - libxt-dev - - libxtst-dev - - make - - mate-common - - xmlto - - xsltproc - -variables: - - CFLAGS="-Wall -Werror=format-security" - -after_scripts: - - make distcheck - -releases: - draft: false - prerelease: false - checksum: true - file_glob: true - files: mate-session-manager-*.tar.xz - github_release: - tags: true - overwrite: true - base_version: 1.20.0 - notify_servers: - - https://release.mate-desktop.org/release |