-
Notifications
You must be signed in to change notification settings - Fork 26
/
.travis.yml
25 lines (22 loc) · 1.47 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
23
24
25
language: objective-c
osx_image: xcode7
env:
global:
secure: gZMOaHQIeG7nplBCuH7EKf9o6Ez2rtoSskrv3nOTziSxFfZq322MrxvkidDpEN7AKWYQm27FO+tCzgq0slXb578lQ9P5ySDwEdExKtk/jMtKsBsf3cr4dzSMiqV5D5TbsH2jE9HQlpYUoJeoMBicR2XsTmd7wiu2jAzNBFqGfiY=
before_install:
- brew install carthage
- gem update cocoapods --no-ri --no-rdoc
- gem install xcpretty --no-ri --no-rdoc
- ./ci_scripts/install_fauxpas.sh
script:
- "./ci_scripts/check_fauxpas.sh"
- "./ci_scripts/check_version.rb"
- set -o pipefail && xcodebuild test -workspace Paystack.xcworkspace -scheme "PaystackiOS Tests" -configuration Debug -sdk iphonesimulator | xcpretty -c
- set -o pipefail && xcodebuild test -workspace Paystack.xcworkspace -scheme "Paystack iOS Application Tests" -configuration Debug -sdk iphonesimulator -destination "OS=9.0,name=iPhone 6" | xcpretty -c
- set -o pipefail && xcodebuild test -workspace Paystack.xcworkspace -scheme "PaystackOSX Tests" | xcpretty -c
- set -o pipefail && xcodebuild build -workspace Paystack.xcworkspace -scheme "Paystack iOS Example (Simple)" -sdk iphonesimulator | xcpretty -c
- set -o pipefail && xcodebuild build -workspace Paystack.xcworkspace -scheme "Paystack iOS Example (Custom)" -sdk iphonesimulator | xcpretty -c
- "./Tests/installation_tests/cocoapods/with_frameworks/test.sh"
- "./Tests/installation_tests/cocoapods/without_frameworks/test.sh"
- "./Tests/installation_tests/manual_installation/test.sh"
# - "./Tests/installation_tests/carthage/test.sh"