Skip to content

Commit

Permalink
enable full lineup for grins and add the travisCI script I was using …
Browse files Browse the repository at this point in the history
…to profile the test runs
  • Loading branch information
dalehenrich committed Jul 7, 2016
1 parent 46abefa commit 2f2500e
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ smalltalk:
- GemStone-3.3.1
- Pharo-5.0
- Squeak-5.0
# - GemStone-2.4.8
# - GemStone-3.1.0.6
# - GemStone-3.2.15
# - Pharo-3.0
# - Pharo-4.0
# - Pharo-6.0
# - Squeak-4.5
# - Squeak-4.6
# - Squeak-trunk
- GemStone-2.4.8
- GemStone-3.1.0.6
- GemStone-3.2.15
- Pharo-3.0
- Pharo-4.0
- Pharo-6.0
- Squeak-4.5
- Squeak-4.6
- Squeak-trunk

matrix:
allow_failures:
Expand Down
64 changes: 64 additions & 0 deletions tode/travisCI.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
TDScriptLeafNode{#name:'travisCI',#contents:'[ :topez :objIn :tokens :command :commandNode |
| opts args |
\"for help: ./travisCI -h\"
command
getOptsMixedLongShort:
{#(\'help\' $h #\'none\').
#(\'TravisCI_1\' nil #\'none\').
#(\'TravisCI_2\' nil #\'none\').
#(\'TravisCI_3\' nil #\'none\')}
optionsAndArguments: [ :options :operands |
opts := options.
args := operands ].
opts
at: \'help\'
ifAbsent: [
| pf homePath catDict label |
pf := topez toolInstanceFor: \'pf\'.
pf pfStart.
homePath := (pf resolveAtPathReference: \'@/sys/stone/home\') fullName.
catDict := Dictionary new
at: #\'categories\' put: {};
yourself.
label := \'Metacello profile for: \'.
opts
at: \'TravisCI_1\'
ifPresent: [ :ignored |
label := label , \' TravisCI_1\'.
(catDict at: #\'categories\')
addAll:
#(\'Metacello-TestsCore\' \'Metacello-TestsReference\' \'Metacello-TestsMCCore\' \'Metacello-TestsPlatform\') ].
opts
at: \'TravisCI_2\'
ifPresent: [ :ignored |
label := label , \' TravisCI_2\'.
(catDict at: #\'categories\') addAll: #(\'Metacello-TestsMCA\') ].
opts
at: \'TravisCI_3\'
ifPresent: [ :ignored |
label := label , \' TravisCI_3\'.
(catDict at: #\'categories\')
addAll: #(\'Metacello-TestsMCB\' \'Metacello-TestsTutorial\') ].
(Smalltalk at: #\'SmalltalkCI\') platformClass basicNew
initialize;
xmlLogDirPath: homePath;
spec: ((Smalltalk at: #\'SmalltalkCISpec\') new testing: catDict);
test.
pf pfView: label ]
ifPresent: [ :ignored |
TDManPage
viewManPage:
\'NAME
travisCI - travisCI script utility template
SYNOPSIS
travisCI [-h|--help]
DESCRIPTION
Run and profile TravisCI scripts in current image.

EXAMPLES
./travisCI -h

./travisCI --TravisCI_1 --TravisCI_2
./travisCI --TravisCI_3
\'
topez: topez ] ]',#creationTime:DateAndTime['2016-07-06T17:06:24.8399178981781-07:00'],#modificationTime:DateAndTime['2016-07-06T17:07:57.17964696884155-07:00']}

0 comments on commit 2f2500e

Please sign in to comment.