ci: Add run.sh and setup.sh in order to run the tests.

The setup script will be in charge of clone the test repository, meanwhile,
the run script will be in charge of execute for example the docker
integration tests.

Fixes #36

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2018-02-22 01:00:55 -06:00
parent 64bb90cb92
commit f0503ba54a
2 changed files with 30 additions and 0 deletions

14
.ci/run.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
#
# Copyright (c) 2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
set -e
cidir=$(dirname "$0")
source "${cidir}/lib.sh"
pushd "${tests_repo_dir}"
.ci/run.sh
popd

16
.ci/setup.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
#
# Copyright (c) 2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
set -e
cidir=$(dirname "$0")
source "${cidir}/lib.sh"
clone_tests_repo
pushd "${tests_repo_dir}"
.ci/setup.sh
popd