From f065edc11f04c2343a5fafc3ea4740a56fa38184 Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Thu, 7 Mar 2013 11:45:29 -0800 Subject: [PATCH] start working on creating a sample testTravisCI.sh and travisCI.st to duplicate functionality described in https://github.com/dalehenrich/builderCI/issues/24 --- .travis.yml | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index c147812..2cde7f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,32 +7,18 @@ language: erlang # Expect travisCI failure for #stable variant env: - - ST=Squeak4.3 TRAVIS_SCRIPT=baselineTravisCI.st - - ST=Squeak4.3 TRAVIS_SCRIPT=configuration090TravisCI.st - - ST=Squeak4.3 TRAVIS_SCRIPT=configurationStableTravisCI.st - - ST=PharoCore-1.3 TRAVIS_SCRIPT=baselineTravisCI.st - - ST=PharoCore-1.3 TRAVIS_SCRIPT=configuration090TravisCI.st - - ST=PharoCore-1.3 TRAVIS_SCRIPT=configurationStableTravisCI.st + - ST=Pharo-1.4 BASELINE=Sample LOADS="'default' 'Tests'" + - ST=Pharo-1.4 CONFIGURATION=Sample LOADS="'default' 'Tests'" VERSION="0.8.0" + - ST=Pharo-1.4 CONFIGURATION=Sample LOADS="'default' 'Tests'" VERSION="0.9.1" install: - export PROJECT_HOME="$(pwd)" - cd $HOME - - wget -O builderCI.zip https://github.com/dalehenrich/builderCI/zipball/master + - wget -q -O builderCI.zip https://github.com/dalehenrich/builderCI/zipball/master - unzip -q builderCI.zip - cd dalehenrich-builderCI* - source build_env_vars - ln -s $PROJECT_HOME $GIT_PATH - ./build_image.sh -script: - -# - echo "running: $PROJECT_HOME/tests/$TRAVIS_SCRIPT" - - ./build.sh -i $ST -s latAmMirror.st -m -f "$PROJECT_HOME/tests/$TRAVIS_SCRIPT" -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 SqueakDebug.log ); then cat SqueakDebug.log; fi - - if ( test -e SqueakDebug.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 +script: $BUILDER_CI_HOME/testTravisCI.sh