<commit_before>sudo: required
dist: xenial
language: php
php:
  - '7.3'

before_install:
  - ./build/install_dependencies_ubuntu.sh
#  - echo "extension=sqlite3.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
#  - echo "extension=pdo_sqlite.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

install:
# do not build the entire solution; there are windows projects included
#  - dotnet build ./Peachpie.sln

# build projects we need:
  - dotnet build ./src/Peachpie.App/ -f netstandard2.0
  - dotnet build ./src/PDO/Peachpie.Library.PDO.Sqlite/
  - dotnet build ./src/Peachpie.NET.Sdk/
  - dotnet build ./src/Tests/Peachpie.DiagnosticTests/
  - dotnet build ./tests -c Release

# install nugets to nuget cache, and build the tests project
  - dotnet restore ./build/dummy

script:
  - dotnet test ./src/Tests/Peachpie.Runtime.Tests/Peachpie.Runtime.Tests.csproj
  - dotnet test ./src/Tests/Peachpie.DiagnosticTests/Peachpie.DiagnosticTests.csproj
  - ./build/runtests.sh<commit_msg>travis install<commit_after>sudo: required
dist: xenial
language: php
php:
  - '7.3'

before_install:
  - ./build/install_dependencies_ubuntu.sh
#  - echo "extension=sqlite3.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
#  - echo "extension=pdo_sqlite.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

install:
# do not build the entire solution; there are windows projects included
#  - dotnet build ./Peachpie.sln

# build projects we need:
  - dotnet pack ./src/Peachpie.App/ -f netstandard2.0
  - dotnet pack ./src/PDO/Peachpie.Library.PDO.Sqlite/
  - dotnet pack ./src/Peachpie.NET.Sdk/
  - dotnet build ./tests -c Release

# install nugets to nuget cache, and build the tests project
  - dotnet restore ./build/dummy

script:
  - dotnet test ./src/Tests/Peachpie.Runtime.Tests/Peachpie.Runtime.Tests.csproj
  - dotnet test ./src/Tests/Peachpie.DiagnosticTests/Peachpie.DiagnosticTests.csproj
  - ./build/runtests.sh
{'fraction_non_alphanumeric': 0.1336405529953917, 'fraction_numerical': 0.005120327700972862, 'mean_word_length': 3.4919540229885055, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '2910295', 'n_tokens_mistral': 712, 'n_tokens_neox': 698, 'n_words': 151}