mirror of
https://github.com/joncardasis/ChromaColorPicker.git
synced 2024-11-25 22:12:01 +03:00
31 lines
832 B
YAML
31 lines
832 B
YAML
language: objective-c
|
|
osx_image: xcode11.3
|
|
before_install:
|
|
- gem install bundler --version '2.0.1'
|
|
- git config --global user.email "travis@travis-ci.org"
|
|
- git config --global user.name "Travis CI"
|
|
- git remote set-url origin https://joncardasis:${GH_TOKEN}@github.com/joncardasis/ChromaColorpicker.git > /dev/null 2>&1
|
|
- echo "*** ${GH_TOKEN}"
|
|
install:
|
|
- bundle install
|
|
jobs:
|
|
exclude:
|
|
if: type = pull_request AND branch = develop
|
|
include:
|
|
- stage: test
|
|
script:
|
|
- fastlane test
|
|
- stage: pod-lint
|
|
script:
|
|
- pod lib lint
|
|
- stage: deploy
|
|
script:
|
|
- fastlane publish_pod
|
|
stages:
|
|
- test
|
|
- pod-lint
|
|
- name: test-lint
|
|
if: type = pull_request
|
|
- name: deploy
|
|
# require the type to be a push to specific branch
|
|
if: type = push AND branch = develop |