From 1a0b61e43c4c9c25aaed5b4cd336ec4c7aa713e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elvis=20Nu=C3=B1ez?= Date: Wed, 17 Apr 2019 14:28:58 +0200 Subject: [PATCH 1/2] Update CircleCI --- .circleci/config.yml | 16 ++++++++++++++++ circle.yml | 3 --- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 circle.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..d1e18ff --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,16 @@ +version: 2 +jobs: + build-and-test: + macos: + xcode: "10.2.0" + shell: /bin/bash --login -o pipefail + steps: + - checkout + - run: xcodebuild -project Demo.xcodeproj -scheme "iOSTests" -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=12.2,name=iPhone X' test | xcpretty + - run: xcodebuild -project Demo.xcodeproj -scheme "tvOSTests" -destination 'platform=tvOS Simulator,name=Apple TV,OS=12.2' test | xcpretty + +workflows: + version: 2 + build-and-test: + jobs: + - build-and-test diff --git a/circle.yml b/circle.yml deleted file mode 100644 index eb8cc59..0000000 --- a/circle.yml +++ /dev/null @@ -1,3 +0,0 @@ -machine: - xcode: - version: "10.2" From 1fc57ecf4fbe0dc5379ba0e0c843c9f6d7ab5704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elvis=20Nu=C3=B1ez?= Date: Wed, 17 Apr 2019 14:37:48 +0200 Subject: [PATCH 2/2] Update CircleCI --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d1e18ff..056f433 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,8 +6,8 @@ jobs: shell: /bin/bash --login -o pipefail steps: - checkout - - run: xcodebuild -project Demo.xcodeproj -scheme "iOSTests" -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=12.2,name=iPhone X' test | xcpretty - - run: xcodebuild -project Demo.xcodeproj -scheme "tvOSTests" -destination 'platform=tvOS Simulator,name=Apple TV,OS=12.2' test | xcpretty + - run: xcodebuild -project Demo.xcodeproj -scheme "iOS" -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=12.2,name=iPhone X' build | xcpretty + - run: xcodebuild -project Demo.xcodeproj -scheme "tvOS" -destination 'platform=tvOS Simulator,name=Apple TV,OS=12.2' build | xcpretty workflows: version: 2