armory/.travis.yml
2018-08-14 21:27:05 +02:00

24 lines
937 B
YAML

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