language: swift osx_image: xcode9 branches: only: - master env: - LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 before_install: - rvm install ruby-2.2.2 - gem install cocoapods - gem install xcpretty -N - brew update - brew install swiftlint || true script: - set -o pipefail - pod repo update - pod install - xcodebuild -workspace Trust.xcworkspace -scheme Trust -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone SE" test | xcpretty - swiftlint notifications: slack: trust-wallet:33Vj3pGpKoBMTBAHTB8dF79n