language: objective-c

script:
- pushd IDZSwiftCommonCrypto
- rm -rf CommonCrypto
- ./GenerateCommonCryptoModule iphonesimulator8.0 .
- cat CommonCrypto/module.map
- pwd
- xcodebuild build -scheme IDZSwiftCommonCrypto -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.0'
# Remove testing pending solution to https://github.com/travis-ci/travis-ci/issues/2829
#- xcodebuild test -scheme IDZSwiftCommonCrypto -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.0'
- popd

language: objective-c

install:
- npm install -g swift-playground-builder

script:
# Generate README.playground from README.md
- make
- pushd IDZSwiftCommonCrypto
- rm -rf CommonCrypto
- ./GenerateCommonCryptoModule iphonesimulator8.0 .
- cat CommonCrypto/module.map
- pwd
- xcodebuild build -scheme IDZSwiftCommonCrypto -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.0'
# Remove testing pending solution to https://github.com/travis-ci/travis-ci/issues/2829
#- xcodebuild test -scheme IDZSwiftCommonCrypto -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.0'
- popd

Add playground generation to TRavis build.
Add playground generation to TRavis build.
