@@ -55,25 +55,36 @@ script:
5555 ..
5656 - sudo make -j2 install
5757
58- - cd ../../test
59- - /usr/bin/python2.7 tests.py
58+ # - cd ../../test
59+ # - /usr/bin/python2.7 tests.py
6060
61- - cd input
61+ # - cd input
6262
63- - /usr/local/bin/IfcConvert -yv acad2010_walls.ifc acad2010_walls.glb
64- # - gltf_validator acad2010_walls.glb
63+ # - /usr/local/bin/IfcConvert -yv acad2010_walls.ifc acad2010_walls.glb
64+ # # - gltf_validator acad2010_walls.glb
6565
66- - /usr/bin/python2.7 -c "from __future__ import print_function; from io import open; import ifcopenshell; f = ifcopenshell.open('encoding.ifc'); assert list(map(ord, f[1][0])) == [39, 97, 39, 32, 49, 109, 179, 32, 8804, 32, 53, 109, 179, 32, 8805, 32, 49, 48, 109, 179]"
66+ # - /usr/bin/python2.7 -c "from __future__ import print_function; from io import open; import ifcopenshell; f = ifcopenshell.open('encoding.ifc'); assert list(map(ord, f[1][0])) == [39, 97, 39, 32, 49, 109, 179, 32, 8804, 32, 53, 109, 179, 32, 8805, 32, 49, 48, 109, 179]"
6767
68- - |
69- (for i in *.ifc; do \
70- echo $i | tee -a log; \
71- timeout 1m /usr/local/bin/IfcConvert -yv "$i" "$i.dae" --validate >> log 2>&1; \
72- echo $i $? >> statuses; \
73- done) || true
74- - echo Failed
75- - grep -v 0$ statuses
76- - grep -v 0$ statuses | wc -l
77- - echo Succeeded
78- - grep 0$ statuses
79- - grep 0$ statuses | wc -l
68+ # - |
69+ # (for i in *.ifc; do \
70+ # echo $i | tee -a log; \
71+ # timeout 1m /usr/local/bin/IfcConvert -yv "$i" "$i.dae" --validate >> log 2>&1; \
72+ # echo $i $? >> statuses; \
73+ # done) || true
74+ # - echo Failed
75+ # - grep -v 0$ statuses
76+ # - grep -v 0$ statuses | wc -l
77+ # - echo Succeeded
78+ # - grep 0$ statuses
79+ # - grep 0$ statuses | wc -l
80+ after_success :
81+ - cd docs
82+ - MESSAGE=$(git log --oneline -1)
83+ - git clone https://johltn:$GITHUB_PASSWORD@github.com/IfcOpenShell/docs
84+ - cd docs
85+ - mv ../output/* .
86+ - git config user.email "${GITHUB_EMAIL}"
87+ - git config user.name "${USER_NAME}"
88+ - git add .
89+ - git commit -m "${MESSAGE}"
90+ - git push
0 commit comments