Skip to content

Commit 5aae708

Browse files
committed
Change doxygen output directory abd try to commit generated docs
1 parent 0fb6d5a commit 5aae708

File tree

2 files changed

+30
-19
lines changed

2 files changed

+30
-19
lines changed

.travis.yml

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -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

docs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set(SPHINX_BUILD ${CMAKE_CURRENT_BINARY_DIR}/docs/sphinx)
1818

1919
MESSAGE(STATUS "SPHINX BUILD ${CMAKE_CURRENT_BINARY_DIR}")
2020

21-
file(MAKE_DIRECTORY ./output/doxygen)
21+
# file(MAKE_DIRECTORY ./output/doxygen)
2222

2323
if (DOXYGEN_FOUND)
2424

0 commit comments

Comments
 (0)