Ver código fonte

Make CircleCI check out Meta.

This checks out meta, updates the client repo to the right branch
(to cope with PRs, rather than master builds), then runs the client
tests.

DMDirc/Infrastructure#62
pull/102/head
Chris Smith 9 anos atrás
pai
commit
2037e1f3fd
1 arquivos alterados com 9 adições e 3 exclusões
  1. 9
    3
      circle.yml

+ 9
- 3
circle.yml Ver arquivo

@@ -5,14 +5,20 @@ machine:
5 5
     TERM: dumb
6 6
 
7 7
 checkout:
8
+  override:
9
+    - git clone https://github.com/DMDirc/Meta.git DMDirc
10
+    - git submodule update --init --remote
11
+    - cd DMDirc/client
12
+    - git fetch origin $CIRCLE_BRANCH:circleci
13
+    - git fetch --tags
14
+    - git checkout circleci
8 15
   post:
9
-    - "if [ -e .git/shallow ]; then git fetch --unshallow; fi"
10 16
     - git fetch --tags
11 17
 
12 18
 dependencies:
13 19
   override:
14
-    - ./gradlew --parallel assemble
20
+    - ./gradlew --parallel client:dependencies plugins:dependencies
15 21
 
16 22
 test:
17 23
   override:
18
-    - ./gradlew --stacktrace --parallel test
24
+    - ./gradlew --stacktrace --parallel client:test

Carregando…
Cancelar
Salvar