language: c
compiler:
    - gcc
    - clang
before_install:
    - sudo add-apt-repository "deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse" -y
    - sudo apt-get update -qq
    - sudo apt-get dist-upgrade -y
    - sudo apt-get install -t trusty -qq gtk-doc-tools libgnutls-dev libgsasl7-dev libxml2-dev libglib2.0-dev libgtk-3-dev libavahi-client-dev libdaemon-dev libpam-dev gobject-introspection libexpat1-dev
script: ./autogen.sh --with-gtk3 --with-infgtk --with-inftextgtk --with-avahi --with-libdaemon --enable-gtk-doc && make && make check

language: c
compiler:
    - gcc
    - clang
before_install:
    - sudo add-apt-repository "deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse" -y
    - sudo apt-get update -qq
    - sudo apt-get install -t trusty -qq gtk-doc-tools libgnutls-dev libgsasl7-dev libxml2-dev libglib2.0-dev libgtk-3-dev libavahi-client-dev libdaemon-dev libpam-dev gobject-introspection libexpat1-dev
script: ./autogen.sh --with-gtk3 --with-infgtk --with-inftextgtk --with-avahi --with-libdaemon --enable-gtk-doc && make && make check

Revert "Travis CI: attempt a dist-upgrade first"
Revert "Travis CI: attempt a dist-upgrade first"

This reverts commit 8231b949b4a41e420646a7d4e6a4e51af8516d3f.
