<commit_before>language: c

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
    - os: linux
      dist: precise

addons:
  apt:
    packages:
      - libudev-dev
      - libcunit1-dev

before_install:
  - gem install package_cloud

before_script:
  - echo "Fetching checkpatch"
  - wget "https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl" -O checkpatch.pl
  - chmod +x checkpatch.pl
  - ./checkpatch.pl --no-tree -f include/*nvm.h --terse || true
  - ./checkpatch.pl --no-tree -f include/nvm_*.h --terse || true
  - ./checkpatch.pl --no-tree -f src/*.c --terse || true

script:
  - echo $DIST
  - DIST=`lsb_release -c -s`
  - echo $DIST
  - make
  - make pkg
  - package_cloud yank slund/liblightnvm/ubuntu/$DIST liblightnvm-0.1.1-Linux.deb
  - package_cloud push slund/liblightnvm/ubuntu/$DIST /home/travis/build/OpenChannelSSD/liblightnvm/build/liblightnvm-0.1.1-Linux.deb<commit_msg>travis: Fiddling...<commit_after>language: c

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
    - os: linux
      dist: precise

addons:
  apt:
    packages:
      - libudev-dev
      - libcunit1-dev

before_install:
  - gem install package_cloud

before_script:
  - echo "Fetching checkpatch"
  - wget "https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl" -O checkpatch.pl
  - chmod +x checkpatch.pl
  - ./checkpatch.pl --no-tree -f include/*nvm.h --terse || true
  - ./checkpatch.pl --no-tree -f include/nvm_*.h --terse || true
  - ./checkpatch.pl --no-tree -f src/*.c --terse || true

script:
  - echo $DIST
  - DIST=`lsb_release -c -s`
  - echo $DIST
  - make
  - make pkg
  - package_cloud yank slund/liblightnvm/ubuntu/$DIST liblightnvm_0.1.1_amd64.deb
  - package_cloud push slund/liblightnvm/ubuntu/$DIST /home/travis/build/OpenChannelSSD/liblightnvm/build/liblightnvm-0.1.1-Linux.deb
{'fraction_non_alphanumeric': 0.13877118644067796, 'fraction_numerical': 0.00847457627118644, 'mean_word_length': 2.598095238095238, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4346484', 'n_tokens_mistral': 750, 'n_tokens_neox': 716, 'n_words': 142}