Set up CI with Azure Pipelines

This commit is contained in:
luboslenco 2019-08-19 13:28:19 +02:00
parent d31af5a95f
commit a08f2f5025
2 changed files with 1 additions and 24 deletions

View File

@ -1,23 +0,0 @@
os:
- linux
language: python
python:
- 3.6
install:
- 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
- armory_ci/test1/nodejs_bin/copysysbin.sh
- pip install flake8
before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
script:
- cd armory_ci/test1
- nodejs_bin/node Kha/make.js
- nodejs_bin/node Kha/make.js krom
- nodejs_bin/node Kha/make.js html5
# - nodejs_bin/node Kha/make.js android

View File

@ -1,7 +1,7 @@
armory
==============
[![Build Status](https://travis-ci.org/armory3d/armory.svg?branch=master)](https://travis-ci.org/armory3d/armory)
[![Build Status](https://dev.azure.com/luboslenco/armory/_apis/build/status/armory3d.armory?branchName=master)](https://dev.azure.com/luboslenco/armory/_build/latest?definitionId=4&branchName=master)
[armory3d.org](https://armory3d.org) - [Manual](https://github.com/armory3d/armory/wiki) - [Roadmap](https://github.com/armory3d/armory/projects) - [Community](https://armory3d.org/community)