# TODO: add test matrix for all SOM VMs
language: python

python:
  - "2.7"

before_install:
  - sudo apt-get update

env:
  - SOM=CSOM        REPO=https://github.com/SOM-st/CSOM.git        BUILD=make
  - SOM=JsSOM       REPO=https://github.com/SOM-st/JsSOM.git       BUILD=make
  - SOM=PySOM       REPO=https://github.com/SOM-st/PySOM.git       BUILD=""
  - SOM=RPySOM      REPO=https://github.com/SOM-st/RPySOM.git      BUILD=""
  - SOM=RTruffleSOM REPO=https://github.com/SOM-st/RTruffleSOM.git BUILD=""
  - SOM=SOM         REPO=https://github.com/SOM-st/som-java.git    BUILD="jdk_switcher use oraclejdk8 && make"
  - SOM=SOMpp       REPO=https://github.com/SOM-st/SOMpp.git       BUILD=make
  - SOM=TruffleSOM  REPO=https://github.com/SOM-st/TruffleSOM.git  BUILD="jdk_switcher use oraclejdk8 && make"

install:
  - sudo apt-get install libc6-dev-i386
  - sudo apt-get install -qq python-yaml
  - git clone --depth 1 $REPO som-vm

# command to run tests
script:
  - export ST_DIR=`pwd`/Smalltalk
  - cd som-vm
  - git --no-pager log -n 1
  - $BUILD
  - ./som.sh -cp ../Smalltalk ../TestSuite/TestHarness.som

language: java
jdk:
  - oraclejdk8
sudo: false
install:
  - git clone https://github.com/smarr/SOMns.git && cd SOMns && ant jar
script:
  - SOMns/som TestSuite/TestRunner.som

Update Travis CI settings for SOMns
Update Travis CI settings for SOMns

Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
