Blame .travis.yml

Packit 130fc8
# Copyright © 2016 Simon McVittie
Packit 130fc8
#
Packit 130fc8
# Permission is hereby granted, free of charge, to any person
Packit 130fc8
# obtaining a copy of this software and associated documentation
Packit 130fc8
# files (the "Software"), to deal in the Software without
Packit 130fc8
# restriction, including without limitation the rights to use, copy,
Packit 130fc8
# modify, merge, publish, distribute, sublicense, and/or sell copies
Packit 130fc8
# of the Software, and to permit persons to whom the Software is
Packit 130fc8
# furnished to do so, subject to the following conditions:
Packit 130fc8
#
Packit 130fc8
# The above copyright notice and this permission notice shall be
Packit 130fc8
# included in all copies or substantial portions of the Software.
Packit 130fc8
#
Packit 130fc8
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
Packit 130fc8
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Packit 130fc8
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Packit 130fc8
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
Packit 130fc8
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
Packit 130fc8
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
Packit 130fc8
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
Packit 130fc8
# DEALINGS IN THE SOFTWARE.
Packit 130fc8
Packit 130fc8
sudo: required
Packit 130fc8
dist: trusty
Packit 130fc8
language: python
Packit 130fc8
install:
Packit 130fc8
  - 'sudo apt-get -qq -y update'
Packit 130fc8
  - >
Packit 130fc8
    sudo apt-get -qq -y install
Packit 130fc8
    autoconf
Packit 130fc8
    automake
Packit 130fc8
    dbus
Packit 130fc8
    gnome-desktop-testing
Packit 130fc8
    libdbus-1-dev
Packit 130fc8
    libdbus-glib-1-dev
Packit 130fc8
    libtool
Packit 130fc8
  - >
Packit 130fc8
    test -z "$dbus_ci_system_python" || sudo apt-get -qq -y install
Packit 130fc8
    ${dbus_ci_system_python}
Packit 130fc8
    ${dbus_ci_system_python%-dbg}-docutils
Packit 130fc8
    ${dbus_ci_system_python%-dbg}-gi
Packit 130fc8
  - >
Packit 130fc8
    if test "$dbus_ci_system_python" = python; then
Packit 130fc8
    sudo apt-get -qq -y install python-epydoc python-gobject-2;
Packit 130fc8
    fi
Packit 130fc8
  - >
Packit 130fc8
    wget
Packit 130fc8
    http://httpredir.debian.org/debian/pool/main/a/autoconf-archive/autoconf-archive_20150925-1_all.deb
Packit 130fc8
  - 'sudo dpkg -i autoconf-archive_*_all.deb'
Packit 130fc8
  - 'rm autoconf-archive_*_all.deb'
Packit 130fc8
python:
Packit 130fc8
  - "2.6"
Packit 130fc8
  - "2.7"
Packit 130fc8
  - "3.2"
Packit 130fc8
  - "3.3"
Packit 130fc8
  - "3.4"
Packit 130fc8
  - "3.5"
Packit 130fc8
  - "3.5-dev"
Packit 130fc8
  - "nightly"
Packit 130fc8
script:
Packit 130fc8
  - ./tools/ci-build.sh
Packit 130fc8
Packit 130fc8
matrix:
Packit 130fc8
  include:
Packit 130fc8
    - python: "2.7"
Packit 130fc8
      env:
Packit 130fc8
        dbus_ci_system_python=python
Packit 130fc8
    - python: "2.7"
Packit 130fc8
      env:
Packit 130fc8
        dbus_ci_system_python=python-dbg
Packit 130fc8
    - python: "3.4"
Packit 130fc8
      env:
Packit 130fc8
        dbus_ci_system_python=python3
Packit 130fc8
    - python: "3.4"
Packit 130fc8
      env:
Packit 130fc8
        dbus_ci_system_python=python3-dbg
Packit 130fc8
Packit 130fc8
# vim:set sw=2 sts=2 et: