language: python
python:
  - 2.7

services:
  - docker
  
install:
  - docker build -t adyen-card-tester .
  - docker run -d -p 127.0.0.1:80:5000 -e ADYEN_KEY="adyen public key" --name adyen-card-tester adyen-card-tester
  
script:
  - docker ps | grep -q adyen-card-tester

language: python
python:
  - 2.7

services:
  - docker

install:
  - docker build -t adyen-card-tester .
  - docker run -d -p 127.0.0.1:80:5000 -e ADYEN_KEY="adyen public key" --name adyen-card-tester adyen-card-tester

before_script:
  - wget --quiet 127.0.0.1:80

script:
  - docker ps | grep -q adyen-card-tester

after_failure:
  - docker logs adyen-card-tester

Test that container starts correctly
Test that container starts correctly
