Use Travis for CI

This commit is contained in:
Reda Lemeden 2015-12-02 21:51:32 +01:00
parent 3e4385bde8
commit 01452f2484
3 changed files with 5 additions and 25 deletions

3
.travis.yml Normal file
View File

@ -0,0 +1,3 @@
language: objective-c
script: ./bin/test
osx_image: xcode7.1

View File

@ -1,12 +1,5 @@
#!/usr/bin/env sh #!/usr/bin/env bash
set -o pipefail set -o pipefail
xcrun xcodebuild \ xcodebuild test -project Gifu.xcodeproj -scheme Gifu -sdk iphonesimulator BUILD_ACTIVE_ARCH=NO | xcpretty -t -c
-project Gifu.xcodeproj \
-scheme Gifu \
-sdk iphonesimulator \
CONFIGURATION_BUILD_DIR='./build' \
test \
| xcpretty --color

View File

@ -1,16 +0,0 @@
machine:
xcode:
version: "7.0"
dependencies:
pre:
- bin/install-carthage
override:
- bin/carthage-bootstrap
cache_directories:
- "Carthage"
- "build"
test:
override:
- bin/test