Newer
Older
monitord / .travis.yml
sudo: rquired

language:
  - cpp

os:
  - linux

dist:
  - xenial

compiler:
  - g++

before_install:
  - sudo add-apt-repository ppa:mosquitto-dev/mosquitto-ppa -y
  - sudo apt-get -qq update
  - sudo apt-get install -y autoconf automake libtool pkg-config alsa-base alsa-utils g++ make libasound2-dev libmp3lame-dev libtolua++5.1-dev libmysql++-dev libmosquitto-dev libmosquittopp-dev
  
  
script:
  - cd $TRAVIS_BUILD_DIR
  - aclocal -Im4
  - ./autogen.sh
  - ./configure --exec-prefix=$PWD/build/ --prefix=$PWD/build/ --enable-plugins --with-mqtt --with-alsa --with-lame -with-mysql --with-lua-includes=/usr/include/lua5.1 --with-lua-suffix="5.1"
  - make
  - make install