Skip to content

Commit

Permalink
trace
Browse files Browse the repository at this point in the history
  • Loading branch information
andriizhegurov-okta committed Oct 10, 2020
1 parent 21a6e8b commit ddb23aa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ mono: latest
# .NET Core
dotnet: 3.1
script:
- if [ "$TRAVIS_TAG" != "" ]; then echo "*** Tagged build detected"; else echo "*** No tagged build detected"; fi
- if [ $TRAVIS_BRANCH = master ]; then echo "*** Building master branch"; else echo "*** Building not a master branch"; fi
- if [ $TRAVIS_PULL_REQUEST = false ]; then echo "*** It isn't a pull request build"; else echo "*** It's a pull request build"; fi
- if [ $DEPLOY_DOCS = true ]; then echo "*** Documentation deployment is permitted"; else echo "*** Documentation deployment is forbidden"; fi
- if [[ $DEPLOY_DOCS = true && ($TRAVIS_PULL_REQUEST = false && $TRAVIS_BRANCH = master || "$TRAVIS_TAG" != "") ]]; then echo "*** Docs conditions are met"; else echo "*** Docs conditions are not met"; fi
- ./build.sh
- if [[ $DEPLOY_DOCS = true && ($TRAVIS_PULL_REQUEST = false && TRAVIS_BRANCH = master || $TRAVIS_TAG != "") ]]; then ./build.sh -t Docs; fi
- if [[ $DEPLOY_DOCS = true && ($TRAVIS_PULL_REQUEST = false && $TRAVIS_BRANCH = master || "$TRAVIS_TAG" != "") ]]; then ./build.sh -t Docs; fi
deploy:
- provider: pages
skip_cleanup: true
Expand Down

0 comments on commit ddb23aa

Please sign in to comment.