diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index d59c90b8..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,60 +0,0 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/2.0/configuration-reference -version: 2.1 - -# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects. -orbs: -# android: circleci/android@1.0.3 - codecov: codecov/codecov@3.3.0 - -jobs: - # Below is the definition of your job to build and test your app, you can rename and customize it as you want. - build-and-test: - # These next lines define the Android machine image executor: https://circleci.com/docs/2.0/executor-types/ - #executor: - # name: android/android-machine - # resource-class: medium - - docker: - - image: cimg/android:2023.12 - resource_class: large - - steps: - # Checkout the code as the first step. - - checkout -# - run: -# name: Install OpenJDK 17 -# command: | -# sudo apt-get update && sudo apt-get install openjdk-17-jdk -# sudo update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java -# sudo update-alternatives --set javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac -# java -version - - # The next step will run the unit tests -# - android/run-tests: -# test-command: ./gradlew clean jacocoTestReport - - run: ./gradlew clean jacocoTestReport --stacktrace - - # Then start the emulator and run the Instrumentation tests! - #- android/start-emulator-and-run-tests: - # test-command: ./gradlew connectedDebugAndroidTest - # system-image: system-images;android-25;google_apis;x86 - - # And finally run the release build - #- run: - # name: Assemble release build - # command: | - # ./gradlew clean testDebugUnitTest - -workflows: - # Below is the definition of your workflow. - # Inside the workflow, you provide the jobs you want to run, e.g this workflow runs the build-and-test job above. - # CircleCI will run this workflow on every commit. - # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows - sample: - jobs: - - build-and-test: - post-steps: - - codecov/upload: - file: /home/circleci/project/serenity-android/serenity-app/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml - diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 31400b66..00000000 --- a/.travis.yml +++ /dev/null @@ -1,46 +0,0 @@ -language: android - -#android: -# components: -# - tools # to get the new `repository-11.xml` -# - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943) -# - build-tools-30.0.2 -# - platform-tools -# - android-29 -# - android-30 -# - extra-android-m2repository -# - extra-google-m2repository -# - extra-android-support -# - extra-google-google_play_services - -jdk: - - openjdk21 - -addons: - apt: - packages: - - python3-pip - -before_cache: - - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - -cache: - directories: - - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ - - $HOME/.gradle/nodejs/ - - node_modules - -before_install: -# - "pip3 install codecov" - -before_install: -- yes | sdkmanager "platforms;android-30;android-29;build-tools-30.0.2" - -script: - - ./gradlew clean jacocoTestReport sonarqube - -after_success: -# - "codecov" - -sudo: false