Procházet zdrojové kódy

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 před 9 roky
rodič
revize
2037e1f3fd
1 změnil soubory, kde provedl 9 přidání a 3 odebrání
  1. 9
    3
      circle.yml

+ 9
- 3
circle.yml Zobrazit soubor

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

Načítá se…
Zrušit
Uložit