Przeglądaj źródła

Merge pull request #351 from jhersh/travis

Travis updates
Mattt Thompson 10 lat temu
rodzic
commit
c5ace8aad0
1 zmienionych plików z 8 dodań i 3 usunięć
  1. 8 3
      .travis.yml

+ 8 - 3
.travis.yml

@@ -1,8 +1,13 @@
 language: objective-c
 osx_image: xcode611
+env:
+- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
 before_install:
-- gem install xcpretty
+- gem install xcpretty -N
 script:
 - set -o pipefail
-- xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" test -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
-- xcodebuild -project "iOS Example.xcodeproj" -scheme "iOS Example" build -sdk iphonesimulator ONLY_ACTIVE_ARCH=YES | xcpretty -c
+- xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" -sdk iphonesimulator
+  -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=NO  test | xcpretty -c
+- xcodebuild -project "iOS Example.xcodeproj" -scheme "iOS Example" -sdk iphonesimulator 
+  -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=YES build | xcpretty -c
+- pod lib lint --quick