Skip to content

Commit 4a5776c

Browse files
committed
Travis: Install and run Mosquitto MQTT broker
1 parent 6618f43 commit 4a5776c

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@ before_install:
1010
- sudo apt-get update -qq
1111
- sudo apt-get install g++-4.8
1212
- sudo apt-get install libboost1.55-all-dev
13-
1413
install:
14+
- wget http://mosquitto.org/files/source/mosquitto-1.3.1.tar.gz
15+
- tar xzf mosquitto-1.3.1.tar.gz
16+
- cd mosquitto-1.3.1
17+
- cmake .
18+
- sudo make install
19+
- cd ..
1520
- npm install
1621
before_script:
22+
- mosquitto -d
1723
- make CPP=g++-4.8 EXTRA_LDFLAGS=-L/usr/lib/x86_64-linux-gnu/
1824
script:
1925
- npm test
26+

0 commit comments

Comments
 (0)