From ed4b48dbfe77395b6425cdaeb2763bae589d058d Mon Sep 17 00:00:00 2001 From: Geoffrey Bugniot Date: Mon, 16 Apr 2018 10:32:03 +0200 Subject: [PATCH] Initial continuous integration set up (build only) --- .travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..ccee4de4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: swift +osx_image: xcode9.3 + +branches: + only: + - master + - develop + +cache: + directories: + - Carthage + +before_install: + - brew update + - brew outdated carthage || brew upgrade carthage + - carthage bootstrap --verbose --no-use-binaries --platform iOS --cache-builds + +script: + - xcodebuild clean build -project r2-shared-swift.xcodeproj -scheme r2-shared-swift -destination "platform=iOS Simulator,name=iPhone 8,OS=11.3" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -quiet