Skip to content

Commit 5bfe23e

Browse files
ci(travis): small fixes (#216)
* ci(travis): small fixes specify cocoapods version to install skip redundant lint step * send build.out to s3 * minor fix
1 parent a55c1c0 commit 5bfe23e

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
language: swift
3232
os: osx
3333
osx_image: xcode10.1
34-
install: gem install cocoapods
34+
install:
35+
- gem install cocoapods -v '1.6.1'
3536
script:
3637
- pod spec lint --quick
3738
after_script:
@@ -47,12 +48,11 @@ jobs:
4748
- master
4849
env: SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=9.1 NAME='iPad Air'
4950
name: PLATFORM='iOS Simulator' OS=9.1 NAME='iPad Air'
50-
before_install:
51-
- gem install slather --no-document --quiet
5251
install:
52+
- gem install slather --no-document --quiet
53+
- gem install cocoapods -v '1.6.1'
5354
- pod install --repo-update
5455
script:
55-
- pod spec lint --quick
5656
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then xcodebuild test -workspace OptimizelySDK.xcworkspace -scheme $SCHEME -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk $TEST_SDK -destination "platform=$PLATFORM,OS=$OS,name=$NAME" ONLY_ACTIVE_ARCH=YES > buildoutput; fi
5757
- cat buildoutput | xcpretty
5858
after_success:

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ This modernized version of the SDK is meant to replace the Objective-C SDK.
1212
* On top of the above functionality, the developer may register for a datafile change notification. This notification will be called anytime a new datafile is downloaded to cache and is used to reinitialize the optimizely client automatically.
1313
* The event handler batches events and will run every minute in the foreground to send events. If there are no events in the queue it will not reschedule.
1414

15-
### Bug Fixes:
15+
### Bug Fixes
1616

1717
### Breaking Changes

Scripts/run_prep.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ function do_stuff {
4949
myscripts=( "update_version.sh ${VERSION}" "build_all.sh" "test_all.sh" )
5050
for i in "${myscripts[@]}"; do
5151
echo -n "${i} "
52+
echo "===== ${i} =====" >> $BUILD_OUTPUT
5253
Scripts/${i} >> $BUILD_OUTPUT 2>&1
5354
echo
5455
done
5556

57+
aws s3 cp $BUILD_OUTPUT "s3://$AWS_BUCKET/$TRAVIS_REPO_SLUG/$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER/"
5658
dump_output
5759
kill $! && trap " " EXIT
5860
}

0 commit comments

Comments
 (0)