From 9ca067cc920f4be84b9500030fabeffbd2faeffe Mon Sep 17 00:00:00 2001 From: Daniil Romanov <92098684+DaniilRomanov@users.noreply.github.com> Date: Tue, 29 Mar 2022 17:11:08 +0300 Subject: [PATCH] Create .travis.yml Created `.travis.yml` file for testing with Travis-CI, currently for s390x architecture only. --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..7148131f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +os: linux +dist: + - focal +arch: + - s390x +language: + - shell +install: + - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg + - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null + - sudo apt-get update + - sudo apt-get install docker-ce +script: + - make ci-build + - IMAGE_NAME=quay.io/3scale/apisonator-ci:latest make test