.travis.yml in mosquitto-0.2 vs .travis.yml in mosquitto-0.3
- old
+ new
@@ -1,29 +1,32 @@
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
+ - sudo apt-get install pkg-config cmake openssl libc-ares-dev
+ - wget http://mosquitto.org/files/source/mosquitto-1.3.1.tar.gz
install:
- - tar xzf mosquitto-1.2.3.tar.gz
- - cd mosquitto-1.2.3
+ - tar xzf mosquitto-1.3.1.tar.gz
+ - cd mosquitto-1.3.1
- 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"
+script:
+ - bundle exec rake test:unit
+ - bundle exec rake test:integration
gemfile:
- Gemfile
notifications:
recipients:
- lourens@methodmissing.com
-branches:
- only:
- - master
\ No newline at end of file
+ - errordeveloper@gmail.com