From 4bfd4008893488eaad454673059024415ef1092e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elvis=20Nu=C3=B1ez?= <3lvis@users.noreply.github.com> Date: Fri, 20 Jul 2018 16:21:48 +0200 Subject: [PATCH] CircleCI version 2 (#235) --- .circleci/config.yml | 17 +++++++++++++++++ circle.yml | 3 --- 2 files changed, 17 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..f44cca3 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,17 @@ +version: 2 +jobs: + build-and-test: + macos: + xcode: "9.4.1" + shell: /bin/bash --login -o pipefail + steps: + - checkout + - run: xcodebuild -project Demo.xcodeproj -scheme "macOSTests" -sdk macosx test | xcpretty + - run: xcodebuild -project Demo.xcodeproj -scheme "iOSTests" -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=11.4,name=iPhone X' test | xcpretty + - run: xcodebuild -project Demo.xcodeproj -scheme "tvOSTests" -destination 'platform=tvOS Simulator,name=Apple TV,OS=11.4' 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 09d7e90..0000000 --- a/circle.yml +++ /dev/null @@ -1,3 +0,0 @@ -machine: - xcode: - version: "9.0"