language: swift osx_image: xcode9.1 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 - pod repo update master script: - set -o pipefail - pod install - swiftlint - xcodebuild -workspace Trust.xcworkspace -scheme Trust -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone SE" test | xcpretty notifications: slack: trust-wallet:33Vj3pGpKoBMTBAHTB8dF79n email: false after_success: - bash <(curl -s https://copilot.blackducksoftware.com/ci/travis/scripts/upload)