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

build_code:
  stage: build
  script:
    - cd Example/
    - bundle install
Mauro Bender's avatar
Mauro Bender committed
9
    - 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
    - cd ..
    - lizard -X Api/ | lizardf.rb > Example/test_output/complexity.html
Mauro Bender's avatar
Mauro Bender committed
15
16
17
18
19
  tags:
    - ios
  artifacts:
    paths:
      - Example/test_output/