Skip to content

Commit

Permalink
Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
noamtamim committed Apr 14, 2019
1 parent 21c04df commit d17d0fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
11 changes: 4 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
language: objective-c
osx_image: xcode10.1

language: swift
osx_image: xcode10.2
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- gem install cocoapods xcpretty
- pod repo update

script:
- sh ./travis-build.sh

- ./travis-build.sh
notifications:
email:
recipients:
Expand Down
7 changes: 2 additions & 5 deletions travis-build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

TRAVIS_EVENT_TYPE=cron # TODO: fix

set -e -o pipefail

# Login to cocoapods trunk.
Expand Down Expand Up @@ -30,9 +28,8 @@ trunkPush() {
}

justBuild() {
cd TestApp
pod install
xcodebuild build -workspace TestApp.xcworkspace -scheme TestApp -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
# no test app, do libLint
libLint
}

libLint() {
Expand Down

0 comments on commit d17d0fa

Please sign in to comment.