Integration testing with drone.io
<p>I am using a CI tool called Drone(drone.io). So i really want to do some integration tests with it. What i want is Drone to start my application container on some port on the drone host and then I would be able to run integration tests against it. For example in .drone.yml file:</p>

<pre><code>build:
  image: python3.5-uwsgi
  pull: true
  auth_config:
      username: some_user
      password: some_password
      email: email
  commands:
      - pip install --user --no-cache-dir -r requirements.txt
      - python manage.py integration_test -h 127.0.0.1:5000 
# this should send various requests to 127.0.0.1:5000
# to test my application's behaviour 

compose:
   my_application:
     # build and run a container based on dockerfile in local repo on port 5000


publish:

deploy:
</code></pre>