Skip to content

Commit

Permalink
Set up CI with Azure Pipelines (#887)
Browse files Browse the repository at this point in the history
* Set up CI with Azure Pipelines

[skip ci]

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Test json string for dynamic matrix

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Cleanup of azure config

Still depending on branch for packages.sh

* Argument handling in packages.sh

* Update display name

* Update azure-pipelines.yml for Azure Pipelines

* Delete .travis.yml

* Delete .travis.yml

* Delete .travis.yml

* Delete .travis.yml

* Update azure-pipelines.yml
  • Loading branch information
MatthijsBurgh committed Sep 10, 2019
1 parent 6d54541 commit 9edf962
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 169 deletions.
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

44 changes: 44 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
variables:
CI: true

jobs:
- job: package_selection
displayName: 'Package selection'
pool:
vmImage: 'ubuntu latest'
steps:
- task: Bash@3
displayName: 'Determine packages to be build'
name: matrix
inputs:
targetType: 'inline'
script: |
wget https://raw.githubusercontent.com/tue-robotics/tue-env/master/ci/packages.sh
source ./packages.sh --pullrequest=${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER:-false} tue_robocup
echo "##vso[task.setVariable variable=json_string;isOutput=true]$PACKAGES_DICT"
- job: install_build_test
displayName: 'Install, build & test:'
pool:
vmImage: 'ubuntu latest'
dependsOn: package_selection
strategy:
matrix: $[ dependencies.package_selection.outputs['matrix.json_string'] ]
steps:
- task: Bash@3
inputs:
targetType: 'inline'
script: |
wget https://raw.githubusercontent.com/tue-robotics/tue-env/master/ci/install-package.sh
wget https://raw.githubusercontent.com/tue-robotics/tue-env/master/ci/build-package.sh
displayName: 'Get CI scripts'
- task: Bash@3
inputs:
filePath: 'install-package.sh'
arguments: '--package=$PACKAGE --branch=${SYSTEM_PULLREQUEST_SOURCEBRANCH:-${SYSTEM_PULLREQUEST_TARGETBRANCH:-$BUILD_SOURCEBRANCHNAME}} --commit=${BUILD_SOURCEVERSION} --pullrequest=${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER:-false}'
displayName: 'Install'
- task: Bash@3
inputs:
filePath: 'build-package.sh'
arguments: '--package=$PACKAGE'
displayName: 'Build & test'
48 changes: 0 additions & 48 deletions challenge_test/.travis.yml

This file was deleted.

45 changes: 0 additions & 45 deletions robot_skills/.travis.yml

This file was deleted.

56 changes: 0 additions & 56 deletions robot_smach_states/.travis.yml

This file was deleted.

0 comments on commit 9edf962

Please sign in to comment.