From d31af5a95fad81edcd09625b3694af58e316e54a Mon Sep 17 00:00:00 2001 From: luboslenco Date: Mon, 19 Aug 2019 13:25:39 +0200 Subject: [PATCH] Set up CI with Azure Pipelines --- azure-pipelines.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f6772750..a2ffee54 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,9 +5,13 @@ pool: vmImage: 'ubuntu-latest' steps: -- script: git clone https://github.com/armory3d/armory_ci -- script: git clone --recursive https://github.com/kode/Kha.git armory_ci/test1/Kha -- script: git clone https://github.com/armory3d/iron.git armory_ci/test1/Libraries/iron -- script: git clone https://github.com/kode/nodejs_bin.git armory_ci/test1/nodejs_bin -- script: cd armory_ci/test1 -- script: nodejs_bin/node-linux64 Kha/make.js krom +- script: | + pip install flake8 + flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + git clone https://github.com/armory3d/armory_ci + git clone --recursive https://github.com/kode/Kha.git armory_ci/test1/Kha + git clone https://github.com/armory3d/iron.git armory_ci/test1/Libraries/iron + git clone https://github.com/kode/nodejs_bin.git armory_ci/test1/nodejs_bin + cd armory_ci/test1 + nodejs_bin/node-linux64 Kha/make.js krom