sudo: false # use containers

language: java

cache:
  directories:
    - $HOME/.m2 # Maven dependencies

# whitelist
branches:
 only:
  - master
 
jdk:
 - oraclejdk8

# Run the commit message check and then check out some required dependencies.
# TODO Currently check in messages are not checked for dawnsci.
# - chmod +x ./org.eclipse.dawnsci.releng/build/commit-msg.sh
# - bash ./org.eclipse.dawnsci.releng/build/commit-msg.sh

before_install:
 - git clone --depth=50 --branch=master https://github.com/eclipse/richbeans.git ../org.eclipse.richbeans
 - git clone --depth=50 --branch=master https://github.com/DawnScience/dawn-hdf.git ../../dawn-hdf

# Run the build from org.eclipse.dawnsci
install:
  - cd ..
  - mv dawnsci org.eclipse.dawnsci
  - cd org.eclipse.dawnsci

# Set LD_LIBRARY_PATH for the tests
env:
  - LD_LIBRARY_PATH=/home/travis/build/dawn-hdf/hdf.hdf5lib/lib/linux-x86_64

# Maven compile and test 
# No need to run this as default travis will find maven and run it
script: 
  - mvn clean install surefire:test -Dtest.includes=org/eclipse/january/**/*Suite.java,org/eclipse/dawnsci/**/*Suite.java

sudo: false # use containers

language: java

cache:
  directories:
    - $HOME/.m2 # Maven dependencies

# whitelist
branches:
 only:
  - master
 
jdk:
 - oraclejdk8

# Run the commit message check and then check out some required dependencies.
# TODO Currently check in messages are not checked for dawnsci.
# - chmod +x ./org.eclipse.dawnsci.releng/build/commit-msg.sh
# - bash ./org.eclipse.dawnsci.releng/build/commit-msg.sh

before_install:
 - git clone --depth=50 --branch=master https://github.com/eclipse/richbeans.git ../org.eclipse.richbeans
 - git clone --depth=50 --branch=master https://github.com/DawnScience/dawn-hdf.git ../../dawn-hdf

# Run the build from org.eclipse.dawnsci
install:
  - cd ..
  - mv dawnsci org.eclipse.dawnsci
  - cd org.eclipse.dawnsci

# Set LD_LIBRARY_PATH for the tests
env:
  - LD_LIBRARY_PATH=/home/travis/build/dawn-hdf/hdf.hdf5lib/lib/linux-x86_64

# Maven compile and test 
# No need to run this as default travis will find maven and run it
script: 
  - mvn clean install surefire:test -Dtest.includes=org/eclipse/dawnsci/**/*Suite.java


Remove January test suite from Travis CI
Remove January test suite from Travis CI
