diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml deleted file mode 100644 index 2b94368df..000000000 --- a/.azure-pipelines.yml +++ /dev/null @@ -1,183 +0,0 @@ -trigger: - branches: - include: - - 2.x - tags: - include: - - '*' - -stages: - - stage: test_core - jobs: - - job: jvm_and_linux - pool: - vmImage: 'ubuntu-16.04' - steps: - - script: './ci/install-jdk10.sh' - - task: Gradle@2 - inputs: - tasks: 'spek-runner-junit5:check integration-test:check' - options: '--stacktrace -PexcludeIdePlugins' - - job: macos - pool: - vmImage: 'macOS-10.14' - steps: - - script: './ci/install-jdk10.sh' - - task: Gradle@2 - inputs: - tasks: 'integration-test:check' - options: '--stacktrace -PexcludeIdePlugins' - - job: windows - pool: - vmImage: 'win1803' - steps: - - task: PowerShell@2 - inputs: - filePath: '.\ci\install-jdk10.ps1' - - task: Gradle@2 - inputs: - tasks: 'integration-test:check' - options: '--stacktrace -PexcludeIdePlugins' - - - stage: test_ide_plugins - dependsOn: test_core - condition: succeeded() - jobs: - - job: intellij_idea - pool: - vmImage: 'ubuntu-16.04' - strategy: - matrix: - ij182: - ij_sdk: IJ182 - ij183: - ij_sdk: IJ183 - ij191: - ij_sdk: IJ191 - ij192: - ij_sdk: IJ192 - ij193: - ij_sdk: IJ193 - steps: - - script: './ci/install-jdk10.sh' - - task: Gradle@2 - inputs: - tasks: 'spek-ide-plugin-intellij-idea:buildPlugin' - options: '--stacktrace -Pij.version=$(ij_sdk)' - - job: android_studio - pool: - vmImage: 'ubuntu-16.04' - strategy: - matrix: - as33: - as_sdk: AS33 - as34: - as_sdk: AS34 - as35: - as_sdk: AS35 - steps: - - script: './ci/install-jdk10.sh' - - task: Gradle@2 - inputs: - tasks: 'spek-ide-plugin-android-studio:buildPlugin' - options: '--stacktrace -Pas.version=$(as_sdk)' - - - stage: release - dependsOn: test_ide_plugins - condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'), or(eq(variables['Build.SourceBranch'], 'refs/heads/2.x'), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))) - jobs: - - job: jvm_js_and_linux - pool: - vmImage: 'ubuntu-16.04' - steps: - - script: './ci/install-jdk10.sh' - - task: Gradle@2 - env: - BINTRAY_USER: $(BINTRAY_USER) - BINTRAY_API_KEY: $(BINTRAY_API_KEY) - inputs: - tasks: 'spek-dsl:bintrayUpload spek-runtime:bintrayUpload spek-runner-junit5:bintrayUpload' - options: '--stacktrace -PexcludeIdePlugins' - - job: macos - pool: - vmImage: 'macOS-10.14' - steps: - - script: './ci/install-jdk10.sh' - - task: Gradle@2 - env: - BINTRAY_USER: $(BINTRAY_USER) - BINTRAY_API_KEY: $(BINTRAY_API_KEY) - inputs: - tasks: 'spek-dsl:bintrayUpload' - options: '--stacktrace -PexcludeIdePlugins' - - job: windows - pool: - vmImage: 'win1803' - steps: - - task: PowerShell@2 - inputs: - filePath: '.\ci\install-jdk10.ps1' - - task: Gradle@2 - env: - BINTRAY_USER: $(BINTRAY_USER) - BINTRAY_API_KEY: $(BINTRAY_API_KEY) - inputs: - tasks: 'spek-dsl:bintrayUpload' - options: '--stacktrace -PexcludeIdePlugins' - - job: intellij_idea_plugins - pool: - vmImage: 'ubuntu-16.04' - strategy: - matrix: - ij182: - ij_sdk: IJ182 - ij183: - ij_sdk: IJ183 - ij191: - ij_sdk: IJ191 - ij192: - ij_sdk: IJ192 - ij193: - ij_sdk: IJ193 - ij201: - ij_sdk: IJ201 - steps: - - script: './ci/install-jdk10.sh' - - task: Gradle@2 - env: - HUB_API_TOKEN: $(HUB_API_TOKEN) - inputs: - tasks: 'spek-ide-plugin-intellij-idea:publishPlugin' - options: '--stacktrace -Pij.version=$(ij_sdk)' - - job: android_studio_plugins - pool: - vmImage: 'ubuntu-16.04' - strategy: - matrix: - as33: - as_sdk: AS33 - as34: - as_sdk: AS34 - as35: - as_sdk: AS35 - steps: - - script: './ci/install-jdk10.sh' - - task: Gradle@2 - env: - HUB_API_TOKEN: $(HUB_API_TOKEN) - inputs: - tasks: 'spek-ide-plugin-android-studio:publishPlugin' - options: '--stacktrace -Pas.version=$(as_sdk)' - - - stage: update - dependsOn: release - condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'), startsWith(variables['Build.SourceBranch'], 'refs/tags/')) - jobs: - - job: docs - pool: - vmImage: 'ubuntu-16.04' - steps: - - script: curl -X POST -d '' $NETLIFY_DEPLOY_URL - env: - NETLIFY_DEPLOY_URL: $(NETLIFY_DEPLOY_URL) - diff --git a/README.md b/README.md index dec4c52b2..2877a9438 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[ ![Build Status](https://dev.azure.com/spekframework/spek/_apis/build/status/spekframework.spek?branchName=2.x) ](https://dev.azure.com/spekframework/spek/_build/latest?definitionId=1&branchName=2.x) +[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/spekframework/spek/CI?style=flat-square)](https://github.com/spekframework/spek/actions?query=workflow%3ACI) [ ![Download](https://img.shields.io/badge/dynamic/json.svg?label=stable&url=https%3A%2F%2Fapi.bintray.com%2Fpackages%2Fspekframework%2Fspek%2Fspek2%2Fversions%2F_latest&query=name&colorB=blue) ](https://bintray.com/spekframework/spek/spek2/_latestVersion) [ ![Download](https://img.shields.io/badge/dynamic/json.svg?label=dev&url=https%3A%2F%2Fapi.bintray.com%2Fpackages%2Fspekframework%2Fspek-dev%2Fspek2%2Fversions%2F_latest&query=name&colorB=blue) ](https://bintray.com/spekframework/spek-dev/spek2/_latestVersion)