Skip to content
Browse files

fill in the basic framework

  • Loading branch information...
1 parent 2a60bf5 commit 4a5ae16f6b3429443e56ebabfbfc8a0820850a91 Dale Henrichs committed Jun 17, 2012
Showing with 68 additions and 1 deletion.
  1. +33 −0 .travis.yml
  2. +3 −1 license.txt → LICENSE
  3. +16 −0 README.md
  4. +16 −0 tests/travisCI.st
View
33 .travis.yml
@@ -0,0 +1,33 @@
+language: erlang
+
+# exclude configuration branch from builds
+branches:
+ except:
+ - configuration
+
+# build matrix: "PharoCore-1.3" or "Squeak4.3" ... parallel tests for
+# all listed environments
+env:
+ - ST=Squeak4.3
+ - ST=PharoCore-1.3
+
+install:
+ - export PROJECT_HOME="$(pwd)"
+ - cd $HOME
+ - wget -O builderCI.zip https://github.com/dalehenrich/builderCI/zipball/master
+ - unzip -q builderCI.zip
+ - cd dalehenrich-builderCI*
+ - source build_env_vars
+ - ./build_clone.sh -g "-b pharo1.3 git://github.com/dalehenrich/filetree.git"
+ - ./build_clone.sh -g "git://github.com/dalehenrich/metacello-work.git"
+ - ./build_image.sh
+
+script:
+
+ - ./build.sh -i $ST -m -f "$PROJECT_HOME/tests/travisCI.st" -o travisCI
+ - cd "${BUILD_PATH}/travisCI/"
+ - if ( test -e PharoDebug.log ); then cat PharoDebug.log; fi
+ - if ( test -e PharoDebug.log ); then die; fi
+ - if ( test -e TravisCISuccess.txt ); then cat TravisCISuccess.txt; fi
+ - if ( test -e TravisCIFailure.txt ); then cat TravisCIFailure.txt; fi
+ - if ( test -e TravisCIFailure.txt ); then die; fi
View
4 license.txt → LICENSE
@@ -1,4 +1,6 @@
-Copyright (c) 2009-2012 VMware, Inc. All Rights Reserved.
+The MIT License (MIT)
+
+Copyright (c) 2009-2012 VMware, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
View
16 README.md
@@ -0,0 +1,16 @@
+## INSTALL Sample
+
+Intall [MetacelloPreview 1.0-beta.32][1], then:
+
+```Smalltalk
+Metacello new
+ configuration: 'Sample';
+ version: #stable;
+ repository: 'github://dalehenrich/sample:configuration';
+ load.
+```
+
+###TravisCI Status
+[![Build Status](https://secure.travis-ci.org/dalehenrich/sample.png?branch=master)](http://travis-ci.org/dalehenrich/sample)
+
+[1]: https://github.com/dalehenrich/metacello-work/blob/master/README.md
View
16 tests/travisCI.st
@@ -0,0 +1,16 @@
+"Load and run tests to be performed by TravisCI"
+| gitPath |
+gitPath := (FileDirectory default directoryNamed: 'git_cache') fullName.
+
+"load the Sample tests"
+Metacello new
+ baseline: 'Sample';
+ repository: 'filetree://', gitPath, '/sample/repository';
+ load: 'Tests'.
+
+"Run the tests"
+TravisCIHarness
+ value: #( 'BaselineOfSample' )
+ value: 'TravisCISuccess.txt'
+ value: 'TravisCIFailure.txt'.
+

0 comments on commit 4a5ae16

Please sign in to comment.
Something went wrong with that request. Please try again.