<commit_before>language: c
sudo: true
addons:
  apt:
    packages:
    - ksh
    - libgd2-xpm-dev
    - tcl-dev
    - libdevil-dev
    - libxaw7-dev
    - freeglut3-dev
    - colorgcc

install:
# Enable colored gcc output
- export CC=colorgcc
# Install unit testing framework Criterion.
- cd dependencies/criterion
- mkdir build
- cd build
- cmake ..
- cmake --build .
- sudo make install
- sudo ldconfig

script:
- cd ${TRAVIS_BUILD_DIR}
# Build and test code
- ./autogen.sh
- make
- sudo make install
- make check
# Create source package to deploy
- make dist

before_deploy:
- GRAPHVIZ_PACKAGE_NAME="graphviz-${TRAVIS_TAG}-linux.tar.gz"
- tar czf ${GRAPHVIZ_PACKAGE_NAME} ${GRAPHVIZ_DESTINATION_FOLDER}
deploy:
  provider: releases
  api_key:
    secure: <KEY>
#  file: ''
  on:
    repo: ellson/graphviz<commit_msg>Travis: deploy result of `make dist`<commit_after>language: c
sudo: true
addons:
  apt:
    packages:
    - ksh
    - libgd2-xpm-dev
    - tcl-dev
    - libdevil-dev
    - libxaw7-dev
    - freeglut3-dev
    - colorgcc

install:
# Enable colored gcc output
- export CC=colorgcc
# Install unit testing framework Criterion.
- cd dependencies/criterion
- mkdir build
- cd build
- cmake ..
- cmake --build .
- sudo make install
- sudo ldconfig

script:
- cd ${TRAVIS_BUILD_DIR}
# Build and test code
- ./autogen.sh
- make
- sudo make install
- make check
# Create source package to deploy
- make dist

before_deploy:
- export DEPLOYED_FILE=$(ls *.tar.gz)
- echo "deploying ${DEPLOYED_FILE} to GitHub releases"
deploy:
  provider: releases
  api_key:
    secure: <KEY>
  skip_cleanup: true
  file: "${DEPLOYED_FILE}"
  on:
    repo: ellson/graphviz
{'fraction_non_alphanumeric': 0.10589651022864019, 'fraction_numerical': 0.0036101083032490976, 'mean_word_length': 2.978468899521531, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4169097', 'n_tokens_mistral': 636, 'n_tokens_neox': 607, 'n_words': 165}