Add CircleCI config
This commit is contained in:
parent
ce384ae22a
commit
19297c73bc
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
if ! diff Cartfile.resolved Carthage/Cartfile.resolved &>/dev/null; then
|
||||||
|
carthage bootstrap --platform iOS
|
||||||
|
cp Cartfile.resolved Carthage
|
||||||
|
fi
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
version=0.9.3
|
||||||
|
|
||||||
|
curl -L -O "https://github.com/Carthage/Carthage/releases/download/$version/Carthage.pkg"
|
||||||
|
sudo installer -pkg Carthage.pkg -target /
|
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
xcrun xcodebuild \
|
||||||
|
-project Gifu.xcodeproj \
|
||||||
|
-scheme Gifu \
|
||||||
|
-sdk iphonesimulator \
|
||||||
|
CONFIGURATION_BUILD_DIR='./build' \
|
||||||
|
test \
|
||||||
|
| xcpretty --color
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
machine:
|
||||||
|
xcode:
|
||||||
|
version: "7.0"
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
pre:
|
||||||
|
- bin/install-carthage
|
||||||
|
override:
|
||||||
|
- bin/carthage-bootstrap
|
||||||
|
cache_directories:
|
||||||
|
- "Carthage"
|
||||||
|
- "build"
|
||||||
|
|
||||||
|
test:
|
||||||
|
override:
|
||||||
|
- bin/test
|
Loading…
Reference in New Issue