language: smalltalk
sudo: false

smalltalk:
  - Squeak-trunk
  - Squeak-5.0
  - Squeak-4.6
  - Squeak-4.5

  - Pharo-alpha
  - Pharo-stable
  - Pharo-5.0
  - Pharo-4.0
  - Pharo-3.0

  - GemStone-3.3.0
  - GemStone-3.2.12
  - GemStone-3.1.0.6

os:
  - linux
  - osx

install:
  - unset SMALLTALK_CI_HOME && source env_vars # make sure to use smalltalkCI from this branch

script:
  - $SMALLTALK_CI_HOME/run.sh --debug && $SMALLTALK_CI_HOME/tests/fail_test.sh

matrix:
  include:
    # Bash tests
    - language: bash
      smalltalk:
      sudo: false
      script: bash $SMALLTALK_CI_HOME/tests/all_tests.sh

  allow_failures:    
    - smalltalk: GemStone-3.3.0
      os: osx
    - smalltalk: GemStone-3.2.12
      os: osx
    - smalltalk: GemStone-3.1.0.6
      os: osx

  fast_finish: true

# Uncomment to enable dependency caching - especially useful for GemStone builds (3x faster)
#   See https://docs.travis-ci.com/user/caching/#Arbitrary-directories for more information
#   and https://docs.travis-ci.com/user/caching/#Clearing-Caches for managing caches in your
#   own travis buils

#cache:
#  directories:
#    - $TRAVIS_BUILD_DIR/_cache

language: smalltalk
sudo: false

smalltalk:
  - Squeak-trunk
  - Squeak-5.0
  - Squeak-4.6
  - Squeak-4.5

  - Pharo-alpha
  - Pharo-stable
  - Pharo-5.0
  - Pharo-4.0
  - Pharo-3.0

os:
  - linux
  - osx

install:
  # make sure to use smalltalkCI from this branch
  - unset SMALLTALK_CI_HOME && source env_vars

script:
  - $SMALLTALK_CI_HOME/run.sh --debug && $SMALLTALK_CI_HOME/tests/fail_test.sh

matrix:
  include:
    # Bash tests
    - language: bash
      smalltalk:
      sudo: false
      script: bash $SMALLTALK_CI_HOME/tests/all_tests.sh
    # GemStone builds
    - smalltalk: GemStone-3.3.0
      cache:
        directories:
          - $SMALLTALK_CI_HOME/_cache
    - smalltalk: GemStone-3.2.12
      cache:
        directories:
          - $SMALLTALK_CI_HOME/_cache
    - smalltalk: GemStone-3.1.0.6
      cache:
        directories:
          - $SMALLTALK_CI_HOME/_cache

Enable caching for GemStone builds only
Enable caching for GemStone builds only
