-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable full lineup for grins and add the travisCI script I was using …
…to profile the test runs
- Loading branch information
1 parent
46abefa
commit 2f2500e
Showing
2 changed files
with
73 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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']} |