Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI Chores #66

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@

language: objective-c
osx_image: xcode11.2
xcode_workspace: SmartcarAuth.xcworkspace
xcode_scheme: SmartcarAuth

before_install:

- gem install xcov
- gem install cocoapods
- pod install

script:

- pod lib lint --verbose
- xcodebuild -workspace SmartcarAuth.xcworkspace -scheme SmartcarAuth -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xcodebuild -workspace SmartcarAuth.xcworkspace -scheme SmartcarAuth -sdk iphonesimulator -destination 'platform=iOS Simulator,id=1DED7F18-1F63-4593-B316-E6A44FEE23D6,OS=12.4' build test
Expand All @@ -27,10 +24,9 @@ after_success:
- bash <(curl -s https://codecov.io/bash)

deploy:

- provider: script
skip_cleanup: true
script: echo -e "machine github.com\n login $CI_USER_TOKEN" >> ~/.netrc && git push origin v$pod_spec_tag
script: echo -e "machine github.com\n login $GH_TOKEN" >> ~/.netrc && git push origin v$pod_spec_tag
on:
branch: master

Expand Down