language: objective-c

before_install:
  - sudo gem install xcpretty

branches:
  only:
  - master

xcode_project: TextFieldCounter/TextFieldCounter.xcodeproj
xcode_scheme: TextFieldCounter

osx_image: xcode8.2
xcode_sdk: iphonesimulator9.3

script:
  - xcodebuild -project TextFieldCounter/TextFieldCounter.xcodeproj -scheme 'TextFieldCounter' -sdk iphonesimulator build | xcpretty -c && exit ${PIPESTATUS[0]}

before_install:
  - sudo gem install xcpretty

branches:
  only:
  - master

language:
  - swift
  
osx_image: xcode11.2

script:
  - xcodebuild -scheme 'TextFieldCounter' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8,OS=13.2' build test | xcpretty -c
  
after_success:
  - bash <(curl -s https://codecov.io/bash)

Update Travis CI config file
Update Travis CI config file