<commit_before>language: python
python:
  - "2.7"

cache:
  directories:
    - "~/.platformio"

env:
  - PLATFORMIO_CI_SRC=examples/CustomSettings
  - PLATFORMIO_CI_SRC=examples/DoorSensor
  - PLATFORMIO_CI_SRC=examples/HookToEvents
  - PLATFORMIO_CI_SRC=examples/IteadSonoff
  - PLATFORMIO_CI_SRC=examples/LightOnOff
  - PLATFORMIO_CI_SRC=examples/TemperatureSensor
  - PLATFORMIO_CI_SRC=examples/LedStrip
  - CPPLINT=true

install:
  - pip install -U platformio
  - pip install cpplint
  - platformio lib install 64  # ArduinoJson
  - platformio lib install 346  # AsyncMqttClient
  - platformio lib install 1106  # Bounce2

script:
  - if [[ "$CPPLINT" ]]; then make cpplint; else platformio ci --lib="." --board=esp01 --board=nodemcuv2; fi<commit_msg>Install current library with all dependencies - fix CI (#151)<commit_after>language: python
python:
  - "2.7"

env:
  - PLATFORMIO_CI_SRC=examples/CustomSettings
  - PLATFORMIO_CI_SRC=examples/DoorSensor
  - PLATFORMIO_CI_SRC=examples/HookToEvents
  - PLATFORMIO_CI_SRC=examples/IteadSonoff
  - PLATFORMIO_CI_SRC=examples/LightOnOff
  - PLATFORMIO_CI_SRC=examples/TemperatureSensor
  - PLATFORMIO_CI_SRC=examples/LedStrip
  - CPPLINT=true

install:
  - pip install -U platformio
  - pip install cpplint
  # install current build as a library with all dependencies
  - platformio lib -g install file://.

script:
  - if [[ "$CPPLINT" ]]; then make cpplint; else platformio ci --board=esp01 --board=nodemcuv2; fi
{'fraction_non_alphanumeric': 0.0962457337883959, 'fraction_numerical': 0.015699658703071672, 'mean_word_length': 4.180212014134276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6758012', 'n_tokens_mistral': 563, 'n_tokens_neox': 549, 'n_words': 106}