This is an automated email from the ASF dual-hosted git repository. bertty pushed a commit to branch docs in repository https://gitbox.apache.org/repos/asf/incubator-wayang.git
commit 663171922a5f0ebf3e1af23e0c63511f8f1dc747 Author: Bertty Contreras-Rojas <[email protected]> AuthorDate: Sat Apr 17 11:20:04 2021 -0400 typos --- .travis.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9415c20..df84cc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,14 +34,16 @@ notification: # - $HOME/.m2 before_install: - - if [ -z $(git diff HEAD HEAD~1 --name-only | grep "wayang-docs") ] ; then export GENERATE_DOCS="true" ; fi - - if [ "${GENERATE_DOS}" = "true" ] ; then sudo apt-get update ; fi - - if [ "${GENERATE_DOS}" = "true" ] ; then sudo apt-get -y install ruby-full build-essential zlib1g-dev ; fi - - if [ "${GENERATE_DOS}" = "true" ] ; then echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc ; fi - - if [ "${GENERATE_DOS}" = "true" ] ; then echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc ; fi - - if [ "${GENERATE_DOS}" = "true" ] ; then source ~/.bashrc ; fi + - echo "${GENERATE_DOCS}" + - if [ -z $(git diff HEAD HEAD~1 --name-only | grep "wayang-docs") ] ; then export GENERATE_DOCS="true" ; GENERATE_DOCS="true" ; fi + - echo "${GENERATE_DOCS}" + - if [ "${GENERATE_DOCS}" = "true" ] ; then sudo apt-get update ; fi + - if [ "${GENERATE_DOCS}" = "true" ] ; then sudo apt-get -y install ruby-full build-essential zlib1g-dev ; fi + - if [ "${GENERATE_DOCS}" = "true" ] ; then echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc ; fi + - if [ "${GENERATE_DOCS}" = "true" ] ; then echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc ; fi + - if [ "${GENERATE_DOCS}" = "true" ] ; then source ~/.bashrc ; fi install: - - if [ "${GENERATE_DOS}" = "true" ] ; then gem install jekyll bundler ; fi + - if [ "${GENERATE_DOCS}" = "true" ] ; then gem install jekyll bundler ; fi before_script: - mkdir -p travis/tmp @@ -73,7 +75,7 @@ before_script: - rm -rf result.log || echo "file doesn't exist" - export LOG_LEVEL=error - mvn_opts=("-Dorg.slf4j.simpleLogger.defaultLogLevel=${LOG_LEVEL}" "-Dwayang.configuration=file://$(pwd)/travis/wayang.properties" "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=${LOG_LEVEL}" "-Dlog4j.rootLogger=${LOG_LEVEL}") - - if [ "${GENERATE_DOS}" = "true" ] ; then mvn_opts=(${mvn_opts[@]} "-Pweb-documentation") ; fi + - if [ "${GENERATE_DOCS}" = "true" ] ; then mvn_opts=(${mvn_opts[@]} "-Pweb-documentation") ; fi # - chmod +x ./docs/script/cibuild script: #- jdk_switcher use openjdk8 @@ -83,7 +85,7 @@ script: after_success: # generate the documentation and create a update of the documentation if something change there - - if [ "${GENERATE_DOS}" = "true" ] ; then mvn gem:exec@generate-documentation gem:exec@generate-documentation-as-latest site:site -pl wayang-docs -Pweb-documentation ; fi + - if [ "${GENERATE_DOCS}" = "true" ] ; then mvn gem:exec@generate-documentation gem:exec@generate-documentation-as-latest site:site -pl wayang-docs -Pweb-documentation ; fi env: global:
