<commit_before>#!/bin/sh

set -eu

function ci_lib() {
    xcodebuild -project FBSnapshotTestCase.xcodeproj \
               -scheme FBSnapshotTestCase \
               -destination "platform=iOS Simulator,name=iPhone 6" \
               -sdk iphonesimulator \
               build test
}

function ci_demo() {
    pushd FBSnapshotTestCaseDemo
    pod install
    xcodebuild -workspace FBSnapshotTestCaseDemo.xcworkspace \
               -scheme FBSnapshotTestCaseDemo \
               -destination "platform=iOS Simulator,name=iPhone 6" \
               build test
    popd
}

ci_lib && ci_demo

<commit_msg>Travis builds for 32bit and 64bit<commit_after>#!/bin/sh

set -eu

function ci_lib() {
    NAME=$1
    xcodebuild -project FBSnapshotTestCase.xcodeproj \
               -scheme FBSnapshotTestCase \
               -destination "platform=iOS Simulator,name=${NAME}" \
               -sdk iphonesimulator \
               build test
}

function ci_demo() {
    NAME=$1
    pushd FBSnapshotTestCaseDemo
    pod install
    xcodebuild -workspace FBSnapshotTestCaseDemo.xcworkspace \
               -scheme FBSnapshotTestCaseDemo \
               -destination "platform=iOS Simulator,name=${NAME}" \
               build test
    popd
}

ci_lib "iPhone 5" && ci_demo "iPhone 5"
ci_lib "iPhone 6" && ci_demo "iPhone 6"
{'fraction_non_alphanumeric': 0.08181818181818182, 'fraction_numerical': 0.00909090909090909, 'mean_word_length': 2.137767220902613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1382713', 'n_tokens_mistral': 423, 'n_tokens_neox': 385, 'n_words': 91}