-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * added codecov * Update .travis.yml
- Loading branch information
1 parent
896f154
commit 045e6d7
Showing
2 changed files
with
6 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,10 @@ | ||
language: objective-c | ||
osx_image: xcode8 | ||
env: | ||
global: | ||
- LC_CTYPE=en_US.UTF-8 | ||
- LANG=en_US.UTF-8 | ||
- WORKSPACE=Tracery.xcworkspace | ||
- IOS_SCHEME="Tracery iOS" | ||
- MACOS_SCHEME="Tracery macOS" | ||
- IOS_SDK=iphonesimulator | ||
- MACOS_SDK=macosx | ||
matrix: | ||
- DESTINATION="arch=x86_64" SCHEME=$MACOS_SCHEME SDK="$MACOS_SDK" | ||
# - DESTINATION="platform=iOS Simulator,name=iPhone SE,OS=10.0" SCHEME=$IOS_SCHEME SDK="$IOS_SDK" | ||
language: swift | ||
osx_image: xcode10.1 | ||
|
||
# https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received | ||
# install: travis_wait mvn install | ||
script: | ||
- set -o pipefail | ||
- xcodebuild -version | ||
- xcodebuild -showsdks | ||
# build the scheme + run tests | ||
# debug | ||
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test -verbose | xcpretty | ||
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO -verbose | xcpretty | ||
- xcodebuild -workspace Tracery.xcworkspace -scheme "Tracery iOS" build | ||
- # xcodebuild -project "Tracery/Tracery.xcodeproj" -scheme "Tracery iOS" -destination "platform=iOS Simulator,name=iPhone X" test | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
codecov: | ||
token: 5185aad9-8124-4544-bd75-e64d316ffef0 |