forked from calabash/calabash-android-server
-
Notifications
You must be signed in to change notification settings - Fork 4
/
azure-pipelines.yml
45 lines (39 loc) · 962 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
trigger:
batch: true
branches:
include:
- master
- develop
pr:
- master
- develop
jobs:
- job:
strategy:
matrix:
Mojave:
IMAGE_POOL: 'macOS-10.14'
# Android Emulator is not available on Ubuntu
# Ubuntu-16:
# IMAGE_POOL: 'ubuntu-16.04'
pool:
vmImage: $(IMAGE_POOL)
steps:
- task: Gradle@2
inputs:
workingDirectory: 'server/'
gradleWrapperFile: 'server/gradlew'
gradleOptions: '-Xmx3072m'
publishJUnitResults: false
tasks: 'assembleAndroidTest'
displayName: "Build TestServer.apk"
- script: bin/ci/ado/install-android-sdk.sh
displayName: "Install Android Sdk"
- script: bin/ci/ado/start-emulator.sh
displayName: "Start Emulator"
# TODO: publish cucumber report
# - server/integration-tests/test-report/*.xml
- script: |
cd server/integration-tests
./test.sh --skip-build
displayName: "$(IMAGE_POOL) - Integration Tests"