diff --git a/.travis.yml b/.travis.yml index 6f28e0fb..b4a7b808 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,3 +80,19 @@ matrix: - cd sdks/android/Mentat - ./gradlew --no-daemon clean :library:assemble :library:test :library:lint - cd ../../.. + - language: rust + dist: trusty + rust: stable + os: osx + before_install: + - 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 + 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 ../../..