| runner failures errors |

Gofer new
  url: 'http://smalltalkhub.com/mc/adolfopa/MicroKanren/main'
    username: ''
    password: '';
  package: 'MicroKanren';
  load.

runner := CommandLineTestRunner runPackage: 'MicroKanren'.

failures := runner instVarNamed: #suiteFailures.
errors := runner instVarNamed: #suiteErrors.

(errors ~= 0) | (failures ~= 0)
  ifTrue: [ SmalltalkImage current exitFailure ].

SmalltalkImage current exitSuccess.
| runner failures errors buildDir |

buildDir := OSPlatform current environment at: 'TRAVIS_BUILD_DIR'.

Gofer new
  url: 'filetree://', buildDir, '/src'
    username: ''
    password: '';
  package: 'MicroKanren';
  load.

runner := CommandLineTestRunner runPackage: 'MicroKanren'.

failures := runner instVarNamed: #suiteFailures.
errors := runner instVarNamed: #suiteErrors.

(errors ~= 0) | (failures ~= 0)
  ifTrue: [ SmalltalkImage current exitFailure ].

SmalltalkImage current exitSuccess.
Load package from cloned Git repo
Load package from cloned Git repo

Don't use Monticello version at SmalltalkHub, as it feels like
cheating. With this change Travis builds are self contained.

adolfopa/microkanren-pharo,adolfopa/microkanren-pharo