From 76d1acdedfd9a325d9a0f5ec462b9ce5b752bca7 Mon Sep 17 00:00:00 2001 From: Emily Toop Date: Tue, 7 Aug 2018 15:07:24 +0100 Subject: [PATCH] Add iOS build task --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b4a7b808..86dbfe9b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,14 +85,13 @@ matrix: rust: stable os: osx before_install: - - PKG_OS="darwin"; + - PKG_OS="darwin" install: - - | - rustup target add aarch64-apple-ios armv7-apple-ios armv7s-apple-ios x86_64-apple-ios i386-apple-ios - cargo install cargo-lipo + - rustup target add aarch64-apple-ios armv7-apple-ios armv7s-apple-ios x86_64-apple-ios i386-apple-ios + - cargo install cargo-lipo script: - ./scripts/ios_build.sh - - | + - > cd sdks/swift/Mentat xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=iOS Simulator,name=iPhone SE,OS=latest' | xcpretty cd ../../..