#!/bin/bash

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPT_DIR

source $SCRIPT_DIR/travis-common.inc

set -e
set -x

JOB_NAME=${TRAVIS_JOB_NAME:-OpenMandriva cooker}

arr=($JOB_NAME)
release=${arr[1]:-cooker}

mmd_run_docker_tests \
    os=openmandriva \
    release=$release \
    repository=docker.io \
    image=openmandriva/$release
