Skip to content

Commit

Permalink
Issue #53: have to update testTravisCI.sh for gs_master_3.1.2 travis …
Browse files Browse the repository at this point in the history
…tests
  • Loading branch information
dalehenrich committed Nov 4, 2014
1 parent 1b9d156 commit b63324e
Showing 1 changed file with 11 additions and 32 deletions.
43 changes: 11 additions & 32 deletions tests/testTravisCI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,41 +37,20 @@ cat - >> $OUTPUT_PATH << EOF
"Load and run tests to be performed by TravisCI"
Transcript cr; show: 'travis---->travisCI.st'.
GsDeployer deploy: [
| glassVersion |
glassVersion := ConfigurationOfGLASS project currentVersion.
glassVersion versionNumber < '1.0-beta.9.3' asMetacelloVersionNumber
ifTrue: [
Transcript
cr;
show: '-----Upgrading GLASS to 1.0-beta.9.3'.
GsDeployer deploy: [
Gofer new
package: 'ConfigurationOfGLASS';
url: 'http://seaside.gemtalksystems.com/ss/MetacelloRepository';
load.
(((System stoneVersionAt: 'gsVersion') beginsWith: '2.') and: [glassVersion versionNumber < '1.0-beta.9.2' asMetacelloVersionNumber])
ifTrue: [
((Smalltalk at: #ConfigurationOfGLASS) project version: '1.0-beta.9.2') load ].
((Smalltalk at: #ConfigurationOfGLASS) project version: '1.0-beta.9.3') load.
] ]
ifFalse: [
Transcript
cr;
show: '-----GLASS already upgraded to 1.0-beta.9.3' ] ].
"Upgrade Grease and Metacello"
Gofer new
package: 'GsUpgrader-Core';
url: 'http://ss3.gemtalksystems.com/ss/gsUpgrader';
load.
(Smalltalk at: #GsUpgrader) upgradeGrease.
GsDeployer deploy: [
"Explicitly load latest Grease configuration, since we're loading the #bleeding edge"
Metacello new
configuration: 'Grease';
repository: 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
get.
"Load the configuration or baseline"
Metacello new
$PROJECT_LINE
$VERSION_LINE
$REPOSITORY_LINE
$PROJECT_LINE
$VERSION_LINE
$REPOSITORY_LINE
onLock: [:ex | ex honor];
load: #( ${LOADS} )
].
Expand All @@ -85,4 +64,4 @@ EOF
cat $OUTPUT_PATH

$BUILDER_CI_HOME/testTravisCI.sh "$@"
if [[ $? != 0 ]] ; then exit 1; fi
if [[ $? != 0 ]] ; then exit 1; fi

0 comments on commit b63324e

Please sign in to comment.