瀏覽代碼

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 年之前
父節點
當前提交
2037e1f3fd
共有 1 個文件被更改,包括 9 次插入3 次删除
  1. 9
    3
      circle.yml

+ 9
- 3
circle.yml 查看文件

@@ -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

Loading…
取消
儲存