Index: .travis.yml =================================================================== diff -u -r90c8d70e7b9eee586c4d8d2059366607db98e828 -rb28a01de29f5987069110730b8301548fe1da8ac --- .travis.yml (.../.travis.yml) (revision 90c8d70e7b9eee586c4d8d2059366607db98e828) +++ .travis.yml (.../.travis.yml) (revision b28a01de29f5987069110730b8301548fe1da8ac) @@ -7,27 +7,36 @@ - gcc - clang env: + matrix: - TCLTAG=core-8-6-branch - TCLTAG=core-8-6-9 - TCLTAG=core-8-5-branch - TCLTAG=core-8-5-19 - TCLTAG=core-8-7-a1 - TCLTAG=core-8-branch + global: + - KITS=$(HOME)/kits matrix: allow_failures: - env: TCLTAG=core-8-6-branch - env: TCLTAG=core-8-5-branch - env: TCLTAG=core-8-branch fast_finish: true - + +cache: + directories: + - $(KITS) + before_install: - if echo "$TRAVIS_COMMIT_MESSAGE" | grep -F -q "[skip travis]" ; then echo "[skip travis] has been found, exiting" && exit 0 ; else echo "[skip travis] has not been found, continuing" ; fi install: + - mkdir -p $(KITS) - if [ $TRAVIS_OS_NAME = linux ]; then - wget http://kitcreator.rkeene.org/kits/840dec4286102c869d85bae3b0dcd32565e7bf12/tclkit; else - wget http://kitcreator.rkeene.org/kits/6967b89da1f6af7b12cdc82819f3bdb13a661242/tclkit; fi - - chmod +x tclkit + URL=http://kitcreator.rkeene.org/kits/840dec4286102c869d85bae3b0dcd32565e7bf12/tclkit; else + URL=http://kitcreator.rkeene.org/kits/6967b89da1f6af7b12cdc82819f3bdb13a661242/tclkit; fi + - wget -O $(KITS)/tclkit.$TRAVIS_OS_NAME $(URL) + - chmod +x $(KITS)/tclkit.$TRAVIS_OS_NAME script: - - ./tclkit apps/build.tcl $HOME $TRAVIS_BUILD_DIR $TCLTAG \ No newline at end of file + - $(KITS)/tclkit.$TRAVIS_OS_NAME apps/build.tcl $HOME $TRAVIS_BUILD_DIR $TCLTAG \ No newline at end of file