sudo: required

language: python

python:
  - "3.6"

services:
  - docker

before_install:
  - docker build -t singularitynet_agent agent
  - docker volume create results

script:
  - docker run --volume results:/data singularitynet_agent /bin/sh -c "./agent.sh test"

after_success:
  - docker run --volume results:/data -e TRAVIS=$TRAVIS -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID -e TRAVIS_BRANCH=$TRAVIS_BRANCH singularitynet_agent /bin/bash -c "coveralls"

sudo: required

language: python

python:
  - "3.6"

services:
  - docker

before_install:
  - docker build -t singularitynet_agent agent
  - docker volume create results
  - pip install coveralls

script:
  - docker run --volume ${PWD}/test-results:/data singularitynet_agent /bin/sh -c "./agent.sh test"

after_success:
  - coveralls

Change location of coverage data
Change location of coverage data
