config.yml 837 Bytes
Newer Older
yogevbd's avatar
yogevbd committed
1

yogevbd's avatar
yogevbd committed
2
version: 2
yogevbd's avatar
yogevbd committed
3
jobs:
4
  ios:
yogevbd's avatar
yogevbd committed
5 6
    macos:
      xcode: "10.2.1"
yogevbd's avatar
yogevbd committed
7 8 9 10 11
    steps:
      - checkout
      - run:
          name: Install Dependencies
          command: scripts/install.ios.sh
yogevbd's avatar
yogevbd committed
12 13 14
      - run:
          name: npm install
          command: npm install
15 16 17
      - run:
          name: iOS unit tests
          command: 'npm run test-unit-ios'
yogevbd's avatar
yogevbd committed
18 19 20
      - run:
          name: Detox iOS e2e tests
          command: 'npm run test-e2e-ios-release'
21
  android:
yogevbd's avatar
yogevbd committed
22 23 24 25
    macos:
      xcode: "10.2.1"
    steps:
      - checkout
yogevbd's avatar
yogevbd committed
26 27 28
      - run:
          name: Install Android
          command: scripts/install.android.sh
yogevbd's avatar
yogevbd committed
29
      - run:
yogevbd's avatar
yogevbd committed
30 31
          name: npm install
          command: npm install
yogevbd's avatar
yogevbd committed
32 33 34
      - run:
          name: Android unit tests
          command: 'npm run test-unit-android'
yogevbd's avatar
yogevbd committed
35 36
workflows:
  version: 2	
37
  test:
yogevbd's avatar
yogevbd committed
38
    jobs:
39 40
      - ios	
      - android