Parcourir la source

Update Travis CI settings to only build master branch

Mattt Thompson il y a 11 ans
Parent
commit
90c4d77be8
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      .travis.yml

+ 4 - 1
.travis.yml

@@ -1,5 +1,8 @@
 language: objective-c
 osx_image: xcode611
+branches:
+  only:
+    - master
 env:
 - LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
 before_install:
@@ -8,6 +11,6 @@ script:
 - set -o pipefail
 - 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 
+- 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