|
@@ -5,43 +5,43 @@ env:
|
5
|
5
|
jobs:
|
6
|
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
|
16
|
|
- env: TYPE=iOS
|
17
|
|
- os: osx
|
18
|
|
- osx_image: xcode9
|
19
|
|
- language: objective-c
|
20
|
|
- before_install:
|
21
|
|
- - source ./scripts/env/env.ios.sh
|
22
|
|
- script:
|
23
|
|
- - ./scripts/travis-fold.sh "npm run test-unit-ios -- --release"
|
24
|
|
- - ./scripts/travis-fold.sh "npm run test-e2e-ios -- --release"
|
|
15
|
+ # - stage: test
|
|
16
|
+ # env: TYPE=iOS
|
|
17
|
+ # os: osx
|
|
18
|
+ # osx_image: xcode9
|
|
19
|
+ # language: objective-c
|
|
20
|
+ # before_install:
|
|
21
|
+ # - source ./scripts/env/env.ios.sh
|
|
22
|
+ # script:
|
|
23
|
+ # - ./scripts/travis-fold.sh "npm run test-unit-ios -- --release"
|
|
24
|
+ # - ./scripts/travis-fold.sh "npm run test-e2e-ios -- --release"
|
25
|
25
|
|
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
|
|
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
|
45
|
45
|
|
46
|
46
|
- stage: deploy
|
47
|
47
|
if: NOT type = pull_request
|