language: python
python:
    - "2.7"
sudo: required
dist: trusty
cache:
    directories:
        - "~/.platformio"
env:
    - PLATFORMIO_CI_SRC=examples/Blink/Blink/Blink.ino
    - PLATFORMIO_CI_SRC=examples/MQTT/MQTT/MQTT.ino
matrix:
    allow_failures:
        - PLATFORMIO_CI_SRC=examples/MQTT/MQTT/MQTT.ino
install:
    - pip install -U platformio
    - platformio lib -g install MsTimer2 TimerOne DueTimer
    # Tmp fix for Microchip gcc-pic32
    - sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
script:
    - platformio ci --lib="." --project-conf platformio.ini

language: python
python:
    - "2.7"
sudo: required
dist: trusty
cache:
    directories:
        - "~/.platformio"
env:
    - PLATFORMIO_CI_SRC=examples/Blink/Blink/Blink.ino
    - PLATFORMIO_CI_SRC=examples/MQTT/MQTT/MQTT.ino
matrix:
    allow_failures:
        - PLATFORMIO_CI_SRC=examples/MQTT/MQTT/MQTT.ino
install:
    - pip install -U platformio
    - platformio lib -g install MsTimer2 TimerOne DueTimer PubSubClient
    # Tmp fix for Microchip gcc-pic32
    - sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
script:
    - platformio ci --lib="." --project-conf platformio.ini

Install PubSubClient library in Travis CI
Install PubSubClient library in Travis CI

Signed-off-by: Roman3349 <6b7cbc66756660b4790b3af1ec1507653acaa035@centrum.cz>
