Skip to content

Commit

Permalink
feat(#217): WIP - Disable CircleCI build steps for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Mar 4, 2021
1 parent 46c8c45 commit e25c42d
Showing 1 changed file with 58 additions and 58 deletions.
116 changes: 58 additions & 58 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,61 +23,61 @@ jobs:
name: Prepare tools scripts
command: chmod +x ./tools/*.sh

- run:
name: Prepare local.properties
command: echo "github.username=${MAONI_GITHUB_USERNAME}" > local.properties &&
echo "github.passwordToken=${MAONI_GITHUB_PASSWORD_TOKEN}" >> local.properties &&
echo "jira.rest.baseUrl=${MAONI_JIRA_REST_BASEURL}" >> local.properties &&
echo "jira.username=${MAONI_JIRA_USERNAME}" >> local.properties &&
echo "jira.password=${MAONI_JIRA_PASSWORD}" >> local.properties

- run:
name: Prepare maoni-keystore.properties
command: mkdir -p ~/.droid &&
echo "keystore=${KEYSTORE}" > ~/.droid/maoni-keystore.properties &&
echo "storePassword=${STORE_PASSWORD}" >> ~/.droid/maoni-keystore.properties &&
echo "keyAlias=${KEY_ALIAS}" >> ~/.droid/maoni-keystore.properties &&
echo "keyPassword=${KEY_PASSWORD}" >> ~/.droid/maoni-keystore.properties
- run:
name: Import Translations if needed
command: ./tools/import-translations-github.sh

- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "maoni-sample/build.gradle" }}

- run:
name: Download Dependencies
command: ./gradlew androidDependencies --stacktrace

- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "maoni-sample/build.gradle" }}
- run:
name: Run Tests
command: ./gradlew clean lintDebug testDebug --stacktrace
- run:
name: Assemble package
command: ./gradlew assembleDebug --stacktrace
- run:
name: Code coverage
command: bash <(curl -s https://codecov.io/bash) || true
- run:
name: Update Github Pages branch
command: ./tools/update-github-pages.sh

- store_artifacts:
path: maoni-sample/build/outputs
destination: outputs

- store_artifacts:
path: maoni-sample/build/reports
destination: reports

- store_test_results:
path: maoni-sample/build/test-results
# - run:
# name: Prepare local.properties
# command: echo "github.username=${MAONI_GITHUB_USERNAME}" > local.properties &&
# echo "github.passwordToken=${MAONI_GITHUB_PASSWORD_TOKEN}" >> local.properties &&
# echo "jira.rest.baseUrl=${MAONI_JIRA_REST_BASEURL}" >> local.properties &&
# echo "jira.username=${MAONI_JIRA_USERNAME}" >> local.properties &&
# echo "jira.password=${MAONI_JIRA_PASSWORD}" >> local.properties
#
# - run:
# name: Prepare maoni-keystore.properties
# command: mkdir -p ~/.droid &&
# echo "keystore=${KEYSTORE}" > ~/.droid/maoni-keystore.properties &&
# echo "storePassword=${STORE_PASSWORD}" >> ~/.droid/maoni-keystore.properties &&
# echo "keyAlias=${KEY_ALIAS}" >> ~/.droid/maoni-keystore.properties &&
# echo "keyPassword=${KEY_PASSWORD}" >> ~/.droid/maoni-keystore.properties
#
# - run:
# name: Import Translations if needed
# command: ./tools/import-translations-github.sh
#
# - restore_cache:
# key: jars-{{ checksum "build.gradle" }}-{{ checksum "maoni-sample/build.gradle" }}
#
# - run:
# name: Download Dependencies
# command: ./gradlew androidDependencies --stacktrace
#
# - save_cache:
# paths:
# - ~/.gradle
# key: jars-{{ checksum "build.gradle" }}-{{ checksum "maoni-sample/build.gradle" }}
#
# - run:
# name: Run Tests
# command: ./gradlew clean lintDebug testDebug --stacktrace
#
# - run:
# name: Assemble package
# command: ./gradlew assembleDebug --stacktrace
#
# - run:
# name: Code coverage
# command: bash <(curl -s https://codecov.io/bash) || true
#
# - run:
# name: Update Github Pages branch
# command: ./tools/update-github-pages.sh
#
# - store_artifacts:
# path: maoni-sample/build/outputs
# destination: outputs
#
# - store_artifacts:
# path: maoni-sample/build/reports
# destination: reports
#
# - store_test_results:
# path: maoni-sample/build/test-results

0 comments on commit e25c42d

Please sign in to comment.