-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
22 lines (19 loc) · 1 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: swift
osx_image: xcode11.6
addons:
homebrew:
brewfile: true
cache:
bundler: true
script:
- set -o pipefail
- swift --version
- rake
- xcodebuild clean build test -project DeviceIdentificator.xcodeproj -scheme DeviceIdentificator-iOS -destination "platform=iOS Simulator,name=iPhone 11" | xcpretty -f `xcpretty-travis-formatter`
- bash <(curl -s https://codecov.io/bash) -cF iPhone -J 'DeviceIdentificator'
- xcodebuild clean build test -project DeviceIdentificator.xcodeproj -scheme DeviceIdentificator-iOS -destination "platform=iOS Simulator,name=iPad Pro (9.7-inch)" | xcpretty -f `xcpretty-travis-formatter`
- bash <(curl -s https://codecov.io/bash) -cF iPad -J 'DeviceIdentificator'
- xcodebuild clean build test -project DeviceIdentificator.xcodeproj -scheme DeviceIdentificator-tvOS -destination "platform=tvOS Simulator,name=Apple TV" | xcpretty -f `xcpretty-travis-formatter`
- bash <(curl -s https://codecov.io/bash) -cF tvOS -J 'DeviceIdentificator'
- swiftlint lint
- bundle exec pod lib lint