diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 74df0d4a..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,70 +0,0 @@ -version: 2.1 - -references: - workspace_root: &workspace_root - ~/sdk - - container_config: &container_config - docker: - - image: circleci/openjdk:8-jdk-stretch - working_directory: *workspace_root - - attach_workspace: &attach_workspace - attach_workspace: - at: *workspace_root - - general_cache_key: &general_cache_key - key: cache-{{ checksum "build.gradle" }} - paths: - - ~/.gradle - -jobs: - test: - <<: *container_config - steps: - - *attach_workspace - - checkout - - restore_cache: - <<: *general_cache_key - - - run: ./.circleci/host-hotfix.sh - - run: ./gradlew build -x check --no-daemon --stacktrace --console=plain -PdisablePreDex - - run: ./gradlew check jacocoTestReport --no-daemon --stacktrace --console=plain -PdisablePreDex - - - save_cache: - <<: *general_cache_key - - - run: bash <(curl -s https://codecov.io/bash) - - - store_test_results: - path: ./build/test-results - - store_artifacts: - path: ./build/reports/jacoco/test - - store_test_results: - path: ./build/reports/tests/test - - store_artifacts: - path: ./build/libs/sdk-1.1.5.jar - deploy: - <<: *container_config - steps: - - *attach_workspace - - checkout - - restore_cache: - <<: *general_cache_key - - - run: ./gradlew bintrayUpload --no-daemon --stacktrace --console=plain -PdisablePreDex - -workflows: - version: 2 - - test-and-deploy: - jobs: - - test - - deploy: - requires: - - test - filters: - tags: - only: /\d+\.\d+\.\d+/ - branches: - ignore: /.*/ diff --git a/.circleci/host-hotfix.sh b/.circleci/host-hotfix.sh deleted file mode 100755 index c9c0791a..00000000 --- a/.circleci/host-hotfix.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -echo "127.0.0.1 fakelog.localhost" | sudo tee -a /etc/hosts -echo "127.0.0.1 adfs.fakelog.localhost" | sudo tee -a /etc/hosts -echo "127.0.0.1 adfslight.fakelog.localhost" | sudo tee -a /etc/hosts -echo "127.0.0.1 cufs.fakelog.localhost" | sudo tee -a /etc/hosts -echo "127.0.0.1 uonetplus.fakelog.localhost" | sudo tee -a /etc/hosts -echo "127.0.0.1 uonetplus-uzytkownik.fakelog.localhost" | sudo tee -a /etc/hosts -echo "127.0.0.1 uonetplus-uczen.fakelog.localhost" | sudo tee -a /etc/hosts