armory/.travis.yml
2017-12-03 13:05:56 +01:00

22 lines
836 B
YAML

os:
- linux
language: python
python:
- 2.7
- 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 krom