Skip to content

Commit

Permalink
Update Travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
allenhumphreys committed Aug 10, 2018
1 parent c47edce commit 8d7c680
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
os: osx
osx_image: xcode9.3
osx_image: xcode9.4
before_install:
- brew update
- brew outdated swiftlint || brew upgrade swiftlint
script:
- xcodebuild -version
- carthage version
- swiftlint version
- "./bootstrap.sh"
- set -o pipefail && env "NSUnbufferedIO=YES" xcodebuild test -scheme WWDC -project WWDC.xcodeproj | xcpretty -f `xcpretty-travis-formatter`
- set -o pipefail && env "NSUnbufferedIO=YES" xcodebuild test -scheme WWDC -project WWDC.xcodeproj | xcpretty -f `xcpretty-travis-formatter`
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
brew "swiftlint"
2 changes: 1 addition & 1 deletion WWDC/DownloadManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ final class DownloadManager: NSObject {
var notPresent = [String]()

for session in expectedOnDisk {
if let asset = session.asset(ofType: SessionAssetType.hdVideo) {
if let asset = session.asset(ofType: .hdVideo) {
if !hasVideo(asset.remoteURL) {
notPresent.append(asset.relativeLocalURL)
}
Expand Down

0 comments on commit 8d7c680

Please sign in to comment.