summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-01-27 16:11:03 -0500
committerJoel Fischer <joeljfischer@gmail.com>2016-01-27 16:11:03 -0500
commit1282dcd1dd0bee21647dfa53ad2c147c738e8709 (patch)
treec39e638bacc371107049a661adf68fe49a910f4e
parent84957e103003d693d71feeed44a43ef024ad99de (diff)
parent1c1ce660b5ce2e2fdeda945e5b80558687dddddb (diff)
downloadsdl_ios-1282dcd1dd0bee21647dfa53ad2c147c738e8709.tar.gz
Merge branch 'hotfix/travis_fixes'
-rw-r--r--.travis.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 5a1972028..035c47175 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,12 +4,20 @@ osx_image: xcode7.1
notifications:
email: false
-before_script:
+before_install:
- brew update
- brew outdated xctool || brew upgrade xctool
+ - curl -OlL "https://github.com/Carthage/Carthage/releases/download/0.11/Carthage.pkg"
+ - sudo installer -pkg "Carthage.pkg" -target /
+ - rm "Carthage.pkg"
+
+before_script:
+ - cd SmartDeviceLink-iOS
+ - carthage bootstrap --platform ios
+ - cd ../
script:
- - xctool test -project SmartDeviceLink-iOS/SmartDeviceLink-iOS.xcodeproj -scheme SmartDeviceLink -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES
+ - xctool -project SmartDeviceLink-iOS/SmartDeviceLink-iOS.xcodeproj -scheme SmartDeviceLink -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES test
after_script:
- bash <(curl -s https://codecov.io/bash) \ No newline at end of file