<commit_before># Set the build version.
version: "{build}"

# Set the clone folder so that Mutagen ends up in the GOPATH.
clone_folder: C:\gopath\src\github.com\havoc-io\mutagen

# Set Go versions.
environment:
  GOPATH: C:\gopath
  matrix:
    - GOROOT: C:\go
      RACEFLAG: -race
    - GOROOT: C:\go-x86
init:
  - set PATH=%GOROOT%\bin;%GOPATH%\bin;%PATH%

# Disable AppVeyor's default Visual Studio build system.
build: off

# Install third-party dependencies.
before_test:
  - git submodule init
  - git submodule update

# Run tests.
# TODO: Figure out how to run the go test command with a pattern like "./..."
# without it descending into vendored packages, that way we don't need to
# manually specify packages.
test_script:
  - go version
  - go test -v %RACEFLAG% -cover github.com/havoc-io/mutagen/sync
  - go run scripts/build.go --mode=testing

# TODO: Once the go test command supports coverage profiles spanning multiple
# packages, use goveralls to upload a coverage report to coveralls.io. The
# relevant issue is here: https://github.com/golang/go/issues/6909.

# Send notifications.
notifications:
  - provider: Email
    to:
      - <EMAIL><commit_msg>Modified AppVeyor settings to only notify on change or failure.<commit_after># Set the build version.
version: "{build}"

# Set the clone folder so that Mutagen ends up in the GOPATH.
clone_folder: C:\gopath\src\github.com\havoc-io\mutagen

# Set Go versions.
environment:
  GOPATH: C:\gopath
  matrix:
    - GOROOT: C:\go
      RACEFLAG: -race
    - GOROOT: C:\go-x86
init:
  - set PATH=%GOROOT%\bin;%GOPATH%\bin;%PATH%

# Disable AppVeyor's default Visual Studio build system.
build: off

# Install third-party dependencies.
before_test:
  - git submodule init
  - git submodule update

# Run tests.
# TODO: Figure out how to run the go test command with a pattern like "./..."
# without it descending into vendored packages, that way we don't need to
# manually specify packages.
test_script:
  - go version
  - go test -v %RACEFLAG% -cover github.com/havoc-io/mutagen/sync
  - go run scripts/build.go --mode=testing

# TODO: Once the go test command supports coverage profiles spanning multiple
# packages, use goveralls to upload a coverage report to coveralls.io. The
# relevant issue is here: https://github.com/golang/go/issues/6909.

# Send notifications.
notifications:
  - provider: Email
    to:
      - <EMAIL>
    on_build_success: false
    on_build_failure: true
    on_build_status_changed: true
{'fraction_non_alphanumeric': 0.09979879275653923, 'fraction_numerical': 0.00482897384305835, 'mean_word_length': 3.4631956912028725, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '47574', 'n_tokens_mistral': 821, 'n_tokens_neox': 788, 'n_words': 282}