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

yogevbd's avatar
yogevbd committed
2
version: 2
yogevbd's avatar
yogevbd committed
3
jobs:
yogevbd's avatar
yogevbd committed
4
  ios_e2e:
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 15 16 17 18 19 20 21 22
      - run:
          name: npm install
          command: npm install
      - run:
          name: Detox iOS e2e tests
          command: 'npm run test-e2e-ios-release'
  android_unit:
    macos:
      xcode: "10.2.1"
    steps:
      - checkout
yogevbd's avatar
yogevbd committed
23 24 25
      - run:
          name: Install Android
          command: scripts/install.android.sh
yogevbd's avatar
yogevbd committed
26
      - run:
yogevbd's avatar
yogevbd committed
27 28
          name: npm install
          command: npm install
yogevbd's avatar
yogevbd committed
29 30 31
      - run:
          name: Android unit tests
          command: 'npm run test-unit-android'
yogevbd's avatar
yogevbd committed
32 33 34 35 36
  ios_unit:
    macos:
      xcode: "10.2.1"
    steps:
      - checkout
yogevbd's avatar
yogevbd committed
37
      - run:
yogevbd's avatar
yogevbd committed
38 39 40 41 42 43 44 45 46 47 48 49
          name: npm install
          command: npm install
      - run:
          name: iOS unit tests
          command: 'npm run test-unit-ios'
workflows:
  version: 2	
  test_all:
    jobs:
      - ios_e2e	
      - android_unit
      - ios_unit