forked from armory3d/armory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 947 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
- nodejs_bin/node Kha/make.js krom
- nodejs_bin/node Kha/make.js html5
# - nodejs_bin/node Kha/make.js android