<commit_before># Travis CI script

language: c

env:
- BUILD_TYPE=default ZMQ_REPO=zeromq2-x
- BUILD_TYPE=default ZMQ_REPO=zeromq3-x
- BUILD_TYPE=default ZMQ_REPO=zeromq4-x WITH_LIBSODIUM=1
- BUILD_TYPE=default ZMQ_REPO=libzmq    WITH_LIBSODIUM=1
- BUILD_TYPE=qt-android
- BUILD_TYPE=check-py
- BUILD_TYPE=cmake

before_install:
- if [ $TRAVIS_OS_NAME == "linux" ] ; then sudo apt-get install uuid-dev ; elif [ $TRAVIS_OS_NAME == "osx" ] ; then brew update; brew install ossp-uuid binutils ; fi

# ZMQ stress tests need more open socket (files) than the usual default
# On OSX, it seems the way to set the max files limit is constantly changing, so
# try to use all known knobs to ensure compatibility across various versions
before_script:
- if [ $TRAVIS_OS_NAME == "osx" ] ; then sudo sysctl -w kern.maxfiles=64000 ; sudo sysctl -w kern.maxfilesperproc=64000 ; sudo launchctl limit maxfiles 64000 64000 ; ulimit -n 64000 ; fi ; ulimit -n 64000
- ./autogen.sh

# Build and check this project according to the BUILD_TYPE
script: ./ci_build.sh<commit_msg>Add OSX build to travis config. Fixes #1053<commit_after># Travis CI script

language: c

os:
- linux
- osx

env:
- BUILD_TYPE=default ZMQ_REPO=zeromq2-x
- BUILD_TYPE=default ZMQ_REPO=zeromq3-x
- BUILD_TYPE=default ZMQ_REPO=zeromq4-x WITH_LIBSODIUM=1
- BUILD_TYPE=default ZMQ_REPO=libzmq    WITH_LIBSODIUM=1
- BUILD_TYPE=qt-android
- BUILD_TYPE=check-py
- BUILD_TYPE=cmake

before_install:
- if [ $TRAVIS_OS_NAME == "linux" ] ; then sudo apt-get install uuid-dev ; elif [ $TRAVIS_OS_NAME == "osx" ] ; then brew update; brew install ossp-uuid binutils ; fi

# ZMQ stress tests need more open socket (files) than the usual default
# On OSX, it seems the way to set the max files limit is constantly changing, so
# try to use all known knobs to ensure compatibility across various versions
before_script:
- if [ $TRAVIS_OS_NAME == "osx" ] ; then sudo sysctl -w kern.maxfiles=64000 ; sudo sysctl -w kern.maxfilesperproc=64000 ; sudo launchctl limit maxfiles 64000 64000 ; ulimit -n 64000 ; fi ; ulimit -n 64000
- ./autogen.sh

# Build and check this project according to the BUILD_TYPE
script: ./ci_build.sh
{'fraction_non_alphanumeric': 0.08947612424663885, 'fraction_numerical': 0.034306907742234584, 'mean_word_length': 4.4910941475826975, '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': '1137584', 'n_tokens_mistral': 850, 'n_tokens_neox': 776, 'n_words': 245}