.gitlab-ci.yml 621 Bytes
Newer Older
Mauro Bender's avatar
Mauro Bender committed
1 2 3 4 5 6 7 8 9
stages:
  - build

build_code:
  stage: build
  script:
    - cd Example/
    - bundle install
    - bundle exec pod install 
Mauro Bender's avatar
Mauro Bender committed
10 11
    - bundle exec scan --scheme Api-Example --code_coverage --derived_data_path build
    - bundle exec slather coverage -s --scheme Api-Example --workspace Api.xcworkspace --build-directory build --binary-basename Api Api.xcodeproj
Mauro Bender's avatar
Mauro Bender committed
12
    - bundle exec slather coverage --html --output-directory test_output/coverage --scheme Api-Example --workspace Api.xcworkspace --build-directory build --binary-basename Api Api.xcodeproj
Mauro Bender's avatar
Mauro Bender committed
13 14 15 16 17
  tags:
    - ios
  artifacts:
    paths:
      - Example/test_output/