Browse Source

back to normal

Daniel Zlotin 7 years ago
parent
commit
83d1f80ea2
1 changed files with 33 additions and 34 deletions
  1. 33
    34
      .travis.yml

+ 33
- 34
.travis.yml View File

5
 jobs:
5
 jobs:
6
   include:
6
   include:
7
 
7
 
8
-    # - stage: test
9
-    #   env: TYPE=js
10
-    #   os: linux
11
-    #   language: generic
12
-    #   script:
13
-    #     - ./scripts/travis-fold.sh "npm run test-js"
8
+    - stage: test
9
+      env: TYPE=js
10
+      os: linux
11
+      language: generic
12
+      script:
13
+        - ./scripts/travis-fold.sh "npm run test-js"
14
 
14
 
15
     - stage: test
15
     - stage: test
16
       env: TYPE=iOS
16
       env: TYPE=iOS
20
       before_install:
20
       before_install:
21
         - source ./scripts/env/env.ios.sh
21
         - source ./scripts/env/env.ios.sh
22
       script:
22
       script:
23
-        - brew install ffmpeg --with-ffplay
24
-        # - ./scripts/travis-fold.sh "npm run test-unit-ios -- --release"
23
+        - ./scripts/travis-fold.sh "npm run test-unit-ios -- --release"
25
         - ./scripts/travis-fold.sh "npm run test-e2e-ios -- --release"
24
         - ./scripts/travis-fold.sh "npm run test-e2e-ios -- --release"
26
 
25
 
27
-    # - stage: test
28
-    #   env: TYPE=Android
29
-    #   os: linux
30
-    #   jdk: oraclejdk8
31
-    #   language: java
32
-    #   before_install:
33
-    #     - source ./scripts/env/env.android.sh
34
-    #   script:
35
-    #     - ./scripts/travis-fold.sh "npm run test-unit-android -- --release"
36
-    #     - ./scripts/travis-fold.sh "npm run test-e2e-android -- --release"
37
-    #   before_cache:
38
-    #     - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
39
-    #     - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
40
-    #   cache:
41
-    #     directories:
42
-    #       - $HOME/.m2
43
-    #       - $HOME/.gradle/caches/
44
-    #       - $HOME/.gradle/wrapper/
45
-    #       - $HOME/.android/build-cache
26
+    - stage: test
27
+      env: TYPE=Android
28
+      os: linux
29
+      jdk: oraclejdk8
30
+      language: java
31
+      before_install:
32
+        - source ./scripts/env/env.android.sh
33
+      script:
34
+        - ./scripts/travis-fold.sh "npm run test-unit-android -- --release"
35
+        - ./scripts/travis-fold.sh "npm run test-e2e-android -- --release"
36
+      before_cache:
37
+        - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
38
+        - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
39
+      cache:
40
+        directories:
41
+          - $HOME/.m2
42
+          - $HOME/.gradle/caches/
43
+          - $HOME/.gradle/wrapper/
44
+          - $HOME/.android/build-cache
46
 
45
 
47
-    # - stage: deploy
48
-    #   if: NOT type = pull_request
49
-    #   env: TYPE=deploy
50
-    #   os: linux
51
-    #   language: generic
52
-    #   script:
53
-    #       - ./scripts/travis-fold.sh "npm run release"
46
+    - stage: deploy
47
+      if: NOT type = pull_request
48
+      env: TYPE=deploy
49
+      os: linux
50
+      language: generic
51
+      script:
52
+          - ./scripts/travis-fold.sh "npm run release"
54
 
53
 
55
 branches:
54
 branches:
56
   only:
55
   only: