<commit_before>language: csharp
dist: trusty
sudo: false
solution: FluentMigrator.sln
mono: latest
dotnet: 2.1.300-preview2-008533
git:
  depth: false
env:
  global:
  - secure: <KEY>
  - secure: SB15HtRpZMuVKKzQ1jGyFqAFb+Dvd1JfB2s7yTp5hd95XSKJ3kS/yTB3edlEpCLi9KZlllBnf7OqoOhUz5QlAjpIRV8VuUUy1YZmMG8V6gTgU0xdWkDUnw83fuDyHlyfQwg+J5UrsDYKq5S+zisqxn4+L792mqAvqJMo25x8rlM=
before_script:
- nuget install GitVersion.CommandLine -Version 4.0.0-beta0012 -Prerelease -ExcludeVersion
- nuget install docfx.console -ExcludeVersion
- export GITVERSION_TOOL="mono GitVersion.CommandLine/tools/GitVersion.exe"
- export DOCFX_TOOL="mono docfx.console/tools/docfx.exe"
- export VERSION_SUFFIX=$($GITVERSION_TOOL /showvariable PreReleaseTag)
- echo Using VersionSuffix=$VERSION_SUFFIX
- chmod a+x ./*.sh
script:
- dotnet pack ./FluentMigrator.sln --version-suffix "$VERSION_SUFFIX" -c "Release" -o "$TRAVIS_BUILD_DIR/output" -p:SourceLinkCreate=true
- dotnet test ./test/FluentMigrator.Tests/FluentMigrator.Tests.csproj --filter 'TestCategory!=NotWorkingOnMono&(TestCategory!=Integration|(TestCategory=Integration&(TestCategory=SQLite)))'
- $DOCFX_TOOL metadata docfx_project/docfx.json
- $DOCFX_TOOL build docfx_project/docfx.json
after_success:
- '[[ "$TRAVIS_PULL_REQUEST" == "false" && ("$TRAVIS_BRANCH" == release/* || "$TRAVIS_BRANCH" == develop) ]] && ./myget-upload.sh'
- '[[ "$TRAVIS_PULL_REQUEST" == "false" && $TRAVIS_TAG =~ ^v[[:digit:]]+(\.[[:digit:]]+)+$ ]] && ./nuget-upload.sh'
deploy:
  provider: pages
  skip-cleanup: true
  github-token: $GITHUB_TOKEN
  repo: fluentmigrator/fluentmigrator.github.io
  target-branch: master
  local-dir: docfx_project/_site
  keep-history: true
  on:
    branch: develop
<commit_msg>The version is now directly passed to the dotnet tool<commit_after>language: csharp
dist: trusty
sudo: false
solution: FluentMigrator.sln
mono: latest
dotnet: 2.1.300-preview2-008533
git:
  depth: false
env:
  global:
  - secure: <KEY>
  - secure: SB15HtRpZMuVKKzQ1jGyFqAFb+Dvd1JfB2s7yTp5hd95XSKJ3kS/yTB3edlEpCLi9KZlllBnf7OqoOhUz5QlAjpIRV8VuUUy1YZmMG8V6gTgU0xdWkDUnw83fuDyHlyfQwg+J5UrsDYKq5S+zisqxn4+L792mqAvqJMo25x8rlM=
before_script:
- nuget install GitVersion.CommandLine -Version 4.0.0-beta0012 -Prerelease -ExcludeVersion
- nuget install docfx.console -ExcludeVersion
- export GITVERSION_TOOL="mono GitVersion.CommandLine/tools/GitVersion.exe"
- export DOCFX_TOOL="mono docfx.console/tools/docfx.exe"
- export VERSION=$($GITVERSION_TOOL /showvariable SemVer)
- echo Using Version=$VERSION
- chmod a+x ./*.sh
script:
- dotnet pack ./FluentMigrator.sln -c "Release" -o "$TRAVIS_BUILD_DIR/output" -p:SourceLinkCreate=true "-p:Version=$VERSION"
- dotnet test ./test/FluentMigrator.Tests/FluentMigrator.Tests.csproj --filter 'TestCategory!=NotWorkingOnMono&(TestCategory!=Integration|(TestCategory=Integration&(TestCategory=SQLite)))'
- $DOCFX_TOOL metadata docfx_project/docfx.json
- $DOCFX_TOOL build docfx_project/docfx.json
after_success:
- '[[ "$TRAVIS_PULL_REQUEST" == "false" && ("$TRAVIS_BRANCH" == release/* || "$TRAVIS_BRANCH" == develop) ]] && ./myget-upload.sh'
- '[[ "$TRAVIS_PULL_REQUEST" == "false" && $TRAVIS_TAG =~ ^v[[:digit:]]+(\.[[:digit:]]+)+$ ]] && ./nuget-upload.sh'
deploy:
  provider: pages
  skip-cleanup: true
  github-token: $GITHUB_TOKEN
  repo: fluentmigrator/fluentmigrator.github.io
  target-branch: master
  local-dir: docfx_project/_site
  keep-history: true
  on:
    branch: develop

{'fraction_non_alphanumeric': 0.1372891215823153, 'fraction_numerical': 0.028504944735311226, 'mean_word_length': 5.947474747474748, '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': '556386', 'n_tokens_mistral': 1481, 'n_tokens_neox': 1395, 'n_words': 212}