File: itest.sh

package info (click to toggle)
python-marathon 0.13.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 460 kB
  • sloc: python: 1,969; makefile: 185; sh: 58
file content (8 lines) | stat: -rwxr-xr-x 311 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!/bin/bash

set -e

[[ -n $TRAVIS ]] || docker pull "missingcharacter/marathon-python:${MARATHONVERSION}"
[[ -n $TRAVIS ]] || docker run --rm --name marathon-python -d -p 18080:8080 -p 15050:5050 "missingcharacter/marathon-python:${MARATHONVERSION}"
behave "$@"
[[ -n $TRAVIS ]] || docker kill marathon-python