• Home
  • Raw
  • Download

Lines Matching +full:github +full:- +full:token

8 # This script assumes `set -e`. Removing it may lead to undefined behavior.
9 set -exu -o pipefail
11 # It would be nicer to use 'readlink -f' here but osx does not support it.
14 # cd to the root dir of opencensus-java
20 echo "- BUILD"
21 echo "- BUILD_EXAMPLES_BAZEL"
22 echo "- BUILD_EXAMPLES_GRADLE"
23 echo "- BUILD_EXAMPLES_MAVEN"
24 echo "- CHECKER_FRAMEWORK"
25 echo "- CHECK_EXAMPLES_FORMAT"
26 echo "- CHECK_EXAMPLES_LICENSE"
27 echo "- CHECK_GIT_HISTORY"
30 if [[ ! -v TASK ]]; then
39 python ./scripts/check-git-history.py
42 ./gradlew clean assemble --stacktrace
43 ./gradlew check :opencensus-all:jacocoTestReport
48 # then there is no access to the codecov token and hence
50 if [[ -v KOKORO_BUILD_NUMBER ]]; then
51 # Get token from file located at
52 # $KOKORO_KEYSTORE_DIR/73495_codecov-auth-token
53 if [ -f $KOKORO_KEYSTORE_DIR/73495_codecov-auth-token ] ; then
54 … curl -s https://codecov.io/bash | bash -s -- -Z -t @$KOKORO_KEYSTORE_DIR/73495_codecov-auth-token
56 echo "Codecov token file not found"
64 ./gradlew clean assemble -PcheckerFramework=true
67 …curl -L -o checkstyle-8.12-all.jar https://github.com/checkstyle/checkstyle/releases/download/chec…
68 java -DrootDir=. -jar checkstyle-8.12-all.jar -c buildscripts/checkstyle.xml examples/src/
71 curl -L -o google-java-format-1.5-all-deps.jar \
72 …https://github.com/google/google-java-format/releases/download/google-java-format-1.5/google-java-
73 …java -jar google-java-format-1.5-all-deps.jar --set-exit-if-changed --dry-run `find examples/src/
76 pushd examples && ./gradlew clean assemble --stacktrace && popd
79 pushd examples && mvn clean package appassembler:assemble -e && popd