File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ image : commit451/android-sdk-installer:latest
2
+
3
+ before_script :
4
+ - android-sdk-installer
5
+
6
+ stages :
7
+ - build
8
+ - test
9
+ - deploy
10
+
11
+ build :
12
+ stage : build
13
+ script :
14
+ - ./gradlew assembleFdroidDebug
15
+
16
+ test :
17
+ stage : test
18
+ script :
19
+ - ./gradlew testFdroidDebug
20
+ artifacts :
21
+ when : always
22
+ paths :
23
+ - app/build/reports/tests/testFdroidDebugUnitTest
24
+ expire_in : 15 days
25
+
26
+ pages :
27
+ stage : deploy
28
+ dependencies :
29
+ - test
30
+ allow_failure : true
31
+ before_script :
32
+ - echo "Overide global before_script and don't do anything."
33
+ script :
34
+ - mkdir -p public/tests
35
+ - cp -r app/build/reports/tests/testFdroidDebugUnitTest/ public/tests
36
+ artifacts :
37
+ paths :
38
+ - public
39
+ when : always
40
+ only :
41
+ - develop
You can’t perform that action at this time.
0 commit comments