X Tutup
Skip to content

Commit fa796e5

Browse files
committed
update travis test script to load GLASS1 properly
1 parent 9a0a5aa commit fa796e5

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

tests/testTravisCI.sh

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,30 @@ OUTPUT_PATH="${PROJECT_HOME}/tests/travisCI.st"
3535

3636
cat - >> $OUTPUT_PATH << EOF
3737
(Smalltalk includesKey: #UserGlobals) ifTrue:[
38-
"Load latest GLASS1 when on Gemstone"
39-
[ Metacello new
40-
baseline: 'GLASS1';
41-
repository: 'github://glassdb/glass:master/repository';
38+
"Upgrade GLASS to to 1.0-beta.9.3"
39+
Gofer new
40+
url: 'http://seaside.gemtalksystems.com/ss/MetacelloRepository';
41+
package: 'ConfigurationOfGLASS';
4242
load.
43-
] on: Warning
44-
do:[:ex | Transcript show: ex greaseString. ex resume].
45-
].
43+
ConfigurationOfGLASS project updateProject.
44+
GsDeployer
45+
deploy: [ (ConfigurationOfGLASS project version: '1.0-beta.9.3') load ].
46+
"Install GLASS from github"
47+
GsDeployer deploy: [
48+
Metacello new
49+
baseline: 'GLASS1';
50+
repository: 'github://glassdb/glass:master/repository';
51+
get.
52+
Metacello new
53+
baseline: 'GLASS1';
54+
repository: 'github://glassdb/glass:master/repository';
55+
onConflict: [ :ex | ex allow ];
56+
onWarning: [ :ex |
57+
Transcript
58+
cr;
59+
show: ex description.
60+
ex resume ];
61+
load: 'default' ].
4662
4763
Transcript cr; show: 'travis--->${OUTPUT_PATH}'.
4864
"Load the configuration or baseline"

0 commit comments

Comments
 (0)
X Tutup