<commit_before>"Load and run tests to be performed by TravisCI"
| gitCache gitPath |
Transcript cr; show: 'travis---->travisCI.st'.

gitCache := 'git_cache'.
gitPath := (Smalltalk at: #'FileDirectory' ifAbsent: [  ])
  ifNil: [ ((Smalltalk at: #'FileSystem') workingDirectory / gitCache) pathString ]
  ifNotNil: [:fileDirectoryClass | (fileDirectoryClass default directoryNamed: gitCache ) fullName].

Smalltalk at: #ConfigurationOfGLASS ifPresent: [:cls |
  "Upgrade to GLASS 1.0-beta.9.3"
  GsDeployer deploy: [
    | glassVersion |
    Gofer new
      package: 'ConfigurationOfGLASS';
      url: 'http://seaside.gemtalksystems.com/ss/MetacelloRepository';
      load.
    glassVersion := cls project currentVersion.
    ((((Smalltalk at: #System) stoneVersionAt: 'gsVersion') beginsWith: '2.') and: [glassVersion versionNumber < '1.0-beta.9.2' asMetacelloVersionNumber])
      ifTrue: [ (cls project version: '1.0-beta.9.2') load ].
    (cls project version: '1.0-beta.9.3') load ] ].

"Load Tode ... "
[
  Metacello new
    baseline: 'Tode';
    repository: 'filetree://', gitPath, '/tode/repository';
    load: 'GemStone Dev' ] 
      on: Warning 
      do: [:ex |
        Transcript cr; show: ex description.
        ex resume ].

"Run the Tode tests"
TravisCIHarness
  value: #( 'BaselineOfTode' )
  value: 'TravisCISuccess.txt' 
  value: 'TravisCIFailure.txt'.<commit_msg>have to use GsDeployer for loading tODE now to get migrations performed by dependent projects<commit_after>"Load and run tests to be performed by TravisCI"
| gitCache gitPath |
Transcript cr; show: 'travis---->travisCI.st'.

gitCache := 'git_cache'.
gitPath := (Smalltalk at: #'FileDirectory' ifAbsent: [  ])
  ifNil: [ ((Smalltalk at: #'FileSystem') workingDirectory / gitCache) pathString ]
  ifNotNil: [:fileDirectoryClass | (fileDirectoryClass default directoryNamed: gitCache ) fullName].

Smalltalk at: #ConfigurationOfGLASS ifPresent: [:cls |
  "Upgrade to GLASS 1.0-beta.9.3"
  GsDeployer deploy: [
    | glassVersion |
    Gofer new
      package: 'ConfigurationOfGLASS';
      url: 'http://seaside.gemtalksystems.com/ss/MetacelloRepository';
      load.
    glassVersion := cls project currentVersion.
    ((((Smalltalk at: #System) stoneVersionAt: 'gsVersion') beginsWith: '2.') and: [glassVersion versionNumber < '1.0-beta.9.2' asMetacelloVersionNumber])
      ifTrue: [ (cls project version: '1.0-beta.9.2') load ].
    (cls project version: '1.0-beta.9.3') load ] ].

"Load Tode ... "
[
  GsDeployer deploy: [
    Metacello new
      baseline: 'Tode';
      repository: 'filetree://', gitPath, '/tode/repository';
      load: 'GemStone Dev' ] 
  ] on: Warning 
    do: [:ex |
      Transcript cr; show: ex description.
      ex resume ].

"Run the Tode tests"
TravisCIHarness
  value: #( 'BaselineOfTode' )
  value: 'TravisCISuccess.txt' 
  value: 'TravisCIFailure.txt'.
{'fraction_non_alphanumeric': 0.13787085514834205, 'fraction_numerical': 0.0118673647469459, 'mean_word_length': 3.6151368760064413, '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': '4394749', 'n_tokens_mistral': 988, 'n_tokens_neox': 979, 'n_words': 249}