language: ruby
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install pkg-config cmake openssl
  - wget http://mosquitto.org/files/source/mosquitto-1.2.3.tar.gz
install:
  - tar xzf mosquitto-1.2.3.tar.gz
  - cd mosquitto-1.2.3
  - cmake .
  - sudo make install
  - bundle install
before_script:
  - erb test/mosquitto.conf.erb > test/mosquitto.conf
  - mosquitto -d -c test/mosquitto.conf
bundler_args: --quiet
rvm:
  - 1.9.3
  - 2.0
  - 2.1
  - 2.1.1
env:
  - GC_STRESS=0
  - GC_STRESS=1
script: "bundle exec rake"
gemfile:
  - Gemfile
notifications:
  recipients:
    - lourens@methodmissing.com
branches:
  only:
    - master
language: ruby
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install pkg-config cmake openssl
  - wget http://mosquitto.org/files/source/mosquitto-1.2.3.tar.gz
install:
  - tar xzf mosquitto-1.2.3.tar.gz
  - cd mosquitto-1.2.3
  - cmake .
  - sudo make install
  - bundle install
before_script:
  - erb $TRAVIS_BUILD_DIR/test/mosquitto.conf.erb > $TRAVIS_BUILD_DIR/test/mosquitto.conf
  - mosquitto -d -c $TRAVIS_BUILD_DIR/test/mosquitto.conf
bundler_args: --quiet
rvm:
  - 1.9.3
  - 2.0
  - 2.1
  - 2.1.1
env:
  - GC_STRESS=0
  - GC_STRESS=1
script: "bundle exec rake"
gemfile:
  - Gemfile
notifications:
  recipients:
    - lourens@methodmissing.com
branches:
  only:
    - master
Use absolute paths to mosquitto conf
Use absolute paths to mosquitto conf
