.travis.yml 632 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
language: cpp

dist: precise
sudo: false

addons:
  apt:
    packages:
      - intltool
      - autoconf
      - autopoint
12 13 14 15 16
      - libxml2-dev
      - pciutils-dev
      - libgtk2.0-dev

install:
17
  - export DDCCONTROL_BUILD_DIR="$(mktemp -dt ddccontrol_build.XXX)"
18
  - git clone --branch 0.4.3 https://github.com/ddccontrol/ddccontrol.git ${DDCCONTROL_BUILD_DIR}
19 20
  - bash -c "cd ${DDCCONTROL_BUILD_DIR} && ./autogen.sh && ./configure && make -j4"
  - export PATH="${DDCCONTROL_BUILD_DIR}/src/ddccontrol:${PATH}"
21 22 23 24 25

script:
  - ./autogen.sh
  - ./configure
  - make -j4
26
  - make check-db
27
  - ./scripts/travis_ci_after_build_checks.sh
28