This repository has been archived by the owner on Jul 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
23 lines (23 loc) · 1.52 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: objective-c
osx_image: xcode8
before_script:
# Build the Cat2Cat binary for use in the test projects
- xcodebuild -configuration Release -workspace Cat2Cat.xcworkspace -scheme Cat2Cat -sdk macosx CONFIGURATION_BUILD_DIR='~/build/'
- cp ~/build/Cat2Cat CocoaPod/
- rm SampleiOSApp/Cat2CatExample/Cat2CatExample/Categories/UIImage+AssetCatalog.?
- rm SampleMacApp/Cat2CatExampleMac/Cat2CatExampleMac/Categories/NSImage+AssetCatalog.?
- rm SampleSwiftiOSApp/Cat2CatExampleSwift/Cat2CatExampleSwift/Cat2CatUIImage.swift
- rm SampleSwiftMacApp/Cat2CatExampleSwiftMac/Cat2CatExampleSwiftMac/Cat2CatNSImage.swift
env:
global:
- SCAN_SKIP_BUILD=1
- SCAN_CONFIGURATION="Release"
matrix:
# Define the details for each test suite that should be run
- SCAN_PROJECT="SampleiOSApp/Cat2CatExample/Cat2CatExample.xcodeproj" SCAN_SCHEME="Cat2CatExample" SCAN_SDK="iphonesimulator"
- SCAN_PROJECT="SampleMacApp/Cat2CatExampleMac/Cat2CatExampleMac.xcodeproj" SCAN_SCHEME="Cat2CatExampleMac" SCAN_SDK="macosx"
- SCAN_PROJECT="SampleSwiftiOSApp/Cat2CatExampleSwift/Cat2CatExampleSwift.xcodeproj" SCAN_SCHEME="Cat2CatExampleSwift" SCAN_SDK="iphonesimulator"
- SCAN_PROJECT="SampleSwiftMacApp/Cat2CatExampleSwiftMac/Cat2CatExampleSwiftMac.xcodeproj" SCAN_SCHEME="Cat2CatExampleSwiftMac" SCAN_SDK="macosx"
script: bundle exec scan
cache:
- bundler # After main-repo builds, save the "bundler" (local Ruby gems) stuff to cache for future builds.