sudo: required

language: java

services:
  - docker

before_install:
  - openssl aes-256-cbc -K $encrypted_062685903f37_key -iv $encrypted_062685903f37_iv -in whitesource-docker-agent.config.enc -out whitesource-docker-agent.config -d
  - wget https://s3.amazonaws.com/docker-agent/whitesource-docker-agent-1.0.2.jar
  - DOCKER_OPTS="-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock"
  - docker -H tcp://127.0.0.1:2375 version
  - docker build -t rigoford/gitlab-ce .
  - docker run --detach --name gitlab-ce rigoford/gitlab-ce

before_script:
  - sleep 30

script:
  - java -jar whitesource-docker-agent-1.0.2.jar

after_script:
  - docker stop gitlab-ce
  - docker rm gitlab-ce

sudo: required

language: java

services:
  - docker

before_install:
  - openssl aes-256-cbc -K $encrypted_062685903f37_key -iv $encrypted_062685903f37_iv -in whitesource-docker-agent.config.enc -out whitesource-docker-agent.config -d
  - wget https://s3.amazonaws.com/docker-agent/whitesource-docker-agent-1.0.2.jar
  - DOCKER_OPTS="-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock"
  - docker -H tcp://127.0.0.1:2375 version
  - docker build -t rigoford/gitlab-ce .
  - docker run --detach --name gitlab-ce rigoford/gitlab-ce

before_script:
  - sleep 30

script:
#  - java -jar whitesource-docker-agent-1.0.2.jar

after_script:
  - docker stop gitlab-ce
  - docker rm gitlab-ce

Disable out the WhiteSource analysis
Disable out the WhiteSource analysis