forked from konrad-jamrozik/droidmate
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.gitlab-ci.yml
36 lines (32 loc) · 903 Bytes
/
.gitlab-ci.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
image: timoguehring/droidmatedockerenv:CI
stages:
- test
unitTestsUnix:
stage: test
tags:
- droidmate
script:
- chmod +x ./gradlew
- echo "Running unit tests on Unix"
- ./gradlew clean build test run --args='StatementCoverage-enableCoverage=true' --refresh-dependencies
unitTestsWindows:
stage: test
tags:
- droidmatewin
script:
- echo "Running unit tests on Windows"
- ./gradlew clean build test run --args='StatementCoverage-enableCoverage=true' --refresh-dependencies
job:on-schedule:
stage: test
tags:
- droidmate
only:
- schedules
script:
- echo "Running scheduled smoke tests on Unix"
- echo $RESOURCE_REPO
- echo $TESTING_SET
- echo $TESTING_DEVICE
- echo $FARM_ADDRESS
- echo $FARM_AUTH_TOKEN
- python ./project/scripts/tester.py $RESOURCE_REPO $TESTING_SET $TESTING_DEVICE $FARM_ADDRESS $FARM_AUTH_TOKEN