sudo: true
dist: trusty
language: python
python:
  - "3.6"
services:
  - docker
before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y sshpass
install:
  - docker pull gtcg/sv-callers-gridengine
  - docker run -d -p 10022:22 gtcg/sv-callers-gridengine
  - sleep 10
#  - docker pull gtcg/sv-callers-slurm
#  - docker run -d -p 10023:22 gtcg/sv-callers-slurm
script:
  - |
    sshpass -p javagat ssh -o StrictHostKeyChecking=no \
      -p 10022 xenon@localhost \
      "/bin/bash -l -c 'cd sv-callers/snakemake; . activate wf; snakemake -np'"
#  - |
#    sshpass -p javagat ssh -o "StrictHostKeyChecking no" -p 10023 xenon@localhost \
#      "/bin/bash -l -c '. activate wf; snakemake -v; sinfo'"
#  - |
#    [ $(find data -name *.vcf|wc -l) -eq '12' ] && exit 0 || exit 1;

sudo: true
dist: trusty
language: python
python:
  - "3.6"
services:
  - docker
before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y sshpass
install:
  - docker pull gtcg/sv-callers-gridengine
  - docker pull gtcg/sv-callers-slurm
  - docker run -d -p 10022:22 gtcg/sv-callers-gridengine
  - docker run -d -p 10023:22 gtcg/sv-callers-slurm
  - sleep 10
  - docker ps -a
script:
  - |
    sshpass -p javagat ssh -o StrictHostKeyChecking=no \
      -p 10022 xenon@localhost \
      "/bin/bash -l -c 'cd sv-callers/snakemake; . activate wf; snakemake -np'"
  - |
    sshpass -p javagat ssh -o StrictHostKeyChecking=no \
      -p 10023 xenon@localhost \
      "/bin/bash -l -c 'cd sv-callers/snakemake; . activate wf; snakemake -np'"

Enable Slurm in Travis CI
Enable Slurm in Travis CI
