mirror of
https://github.com/unidoc/unioffice.git
synced 2025-04-25 13:48:53 +08:00

* Fixes in CI (#406) * Create .gitattributes * Update .travis.yml * Update .travis.yml * travis fix * only errors are printed in travis log * spreadsheet errors fixed: duplicate ID in non-visual properties and lack of third axis in an example * set-strict example fix * build-examples.sh exits with error status in the case of build error * redundant command deleted from script * unneeded image relationships removed * pptx validation errors fixes * all output to travis Co-authored-by: Gunnsteinn Hall <gunnsteinn.hall@gmail.com>
10 lines
271 B
Bash
Executable File
10 lines
271 B
Bash
Executable File
#!/bin/bash
|
|
|
|
go get -u github.com/go-ole/go-ole/oleutil
|
|
:> build_errors
|
|
find _examples/ -maxdepth 2 -mindepth 2 -exec sh -c "cd {}; echo building {}; go build -i main.go" 2>>build_errors \;
|
|
if [[ $(wc -l build_errors | awk '{print $1}') == "0" ]]; then
|
|
exit 0
|
|
fi
|
|
exit 1
|