mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-02 05:54:26 +01:00
CI: Fix Travis and CI setup
Make the CI setup script call the "master" `setup.sh` script (in the `tests` repo) and update the Travis config accordingly to ensure that both setup and static checks are run. Also updated Travis to use Ubuntu 16.04 LTS (Xenial). Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
@@ -8,4 +8,10 @@
|
||||
set -e
|
||||
|
||||
cidir=$(dirname "$0")
|
||||
bash "${cidir}/static-checks.sh"
|
||||
source "${cidir}/lib.sh"
|
||||
|
||||
clone_tests_repo
|
||||
|
||||
pushd "${tests_repo_dir}"
|
||||
.ci/setup.sh
|
||||
popd
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
|
||||
sudo: required
|
||||
dist: trusty
|
||||
dist: xenial
|
||||
|
||||
language: go
|
||||
os:
|
||||
@@ -15,8 +15,11 @@ os:
|
||||
go:
|
||||
- "1.10.x"
|
||||
|
||||
before_script:
|
||||
before_install:
|
||||
- ".ci/setup.sh"
|
||||
|
||||
before_script:
|
||||
- ".ci/static-checks.sh"
|
||||
|
||||
script:
|
||||
- ".ci/run.sh"
|
||||
|
||||
Reference in New Issue
Block a user