# os: linux # dist: trusty # # services: # - docker # # before_install: # - docker build -t leopere/POTATO . # # - docker run -d -p 127.0.0.1:80:4567 carlad/sinatra /bin/sh -c "cd /root/sinatra; bundle exec foreman start;" # - docker ps -a # - docker run carlad/sinatra /bin/sh -c "cd /root/sinatra; bundle exec rake test" # # script: # - bundle exec rake test