language: objective-c
osx_image: xcode9
script:
- set -o pipefail
- bundle exec danger
- xcodebuild test -project FontAwesome.xcodeproj -scheme FontAwesome -destination 'platform=iOS Simulator,name=iPhone 7' | bundle exec xcpretty -c
- xcodebuild -project FontAwesome.xcodeproj -scheme FontAwesome-watchOS -destination 'id=BE78B202-BB77-4DC8-A6F0-0F648DA89B4A,name=Apple Watch - 42mm' | bundle exec xcpretty -c
before_deploy:
  - carthage build --no-skip-current
  - carthage archive FontAwesome
deploy:
  provider: releases
  api_key:
    secure: cas9AI0zCDIumfTKk79sazU6PLuVXICET6eIjqivntG1Qs1g9yvmsI3JbBMLPyZqDl0w+uDHhki7cBeO3tDXJ8cxIErj8xYwtX4TMnA916QWqo7DVkGjkqAxosWWBGBgx6VbcSw0WSnPYrlo41c5yKssuDal+CZjoTeadJqB8Rg=
  file: FontAwesome.framework.zip
  skip_cleanup: true
  on:
    tags: true
    repo: thii/FontAwesome.swift
notifications:
  email: false

language: objective-c
osx_image: xcode9
script:
- set -o pipefail
- bundle exec danger
- xcodebuild test -project FontAwesome.xcodeproj -scheme FontAwesome -destination 'platform=iOS Simulator,name=iPhone 7' | bundle exec xcpretty -c
- xcodebuild -project FontAwesome.xcodeproj -scheme FontAwesome-watchOS -destination 'OS=4.0,name=Apple Watch - 42mm' | bundle exec xcpretty -c
before_deploy:
  - carthage build --no-skip-current
  - carthage archive FontAwesome
deploy:
  provider: releases
  api_key:
    secure: cas9AI0zCDIumfTKk79sazU6PLuVXICET6eIjqivntG1Qs1g9yvmsI3JbBMLPyZqDl0w+uDHhki7cBeO3tDXJ8cxIErj8xYwtX4TMnA916QWqo7DVkGjkqAxosWWBGBgx6VbcSw0WSnPYrlo41c5yKssuDal+CZjoTeadJqB8Rg=
  file: FontAwesome.framework.zip
  skip_cleanup: true
  on:
    tags: true
    repo: thii/FontAwesome.swift
notifications:
  email: false

Fix Travis build command for wachOS target
Fix Travis build command for wachOS target
