<commit_before>#   CZMQ

language: c

script:
- ./autogen.sh

#   Perform regression test build against ZeroMQ v3.x
- git clone git://github.com/zeromq/zeromq3-x.git
- cd zeromq3-x
- ./autogen.sh
- ./configure && make check
- sudo make install
- sudo ldconfig
- cd ..

#   Build & test CZMQ
- ./configure && make check

#   Perform regression test build against ZeroMQ v4.x
# libsodium
# Commit 8d0942 broke installation (sodium.h not found) so for now
# we're checking out the last good commit.
- git clone git://github.com/jedisct1/libsodium.git
- cd libsodium
- git checkout e2a30a
- ./autogen.sh
- ./configure && make check
- sudo make install
- sudo ldconfig
- cd ..

#   libzmq
- git clone git://github.com/zeromq/libzmq.git
- cd libzmq
- ./autogen.sh
- ./configure && make check
- sudo make install
- sudo ldconfig
- cd ..

#   Build & test CZMQ
- ./configure && make check
<commit_msg>Problem: not testing all supported versions of ZeroMQ<commit_after># Travis CI script
# Checks CZMQ against all supported versions of ZeroMQ

language: c

#   Build-check all subprojects, without installing anything
before_script:
- git clone git://github.com/jedisct1/libsodium.git
- git clone git://github.com/zeromq/zeromq2-x.git
- git clone git://github.com/zeromq/zeromq3-x.git
- git clone git://github.com/zeromq/zeromq4-x.git
- git clone git://github.com/zeromq/libzmq.git
- for project in libsodium zeromq2-x zeromq3-x zeromq4-x libzmq; do
-     cd $project
-     ./autogen.sh
-     ./configure && make check
-     cd ..
- done

#   Now rebuild CZMQ against each supported version of ZeroMQ
script:
- ./autogen.sh

# Perform regression test build against ZeroMQ v2.x
- ( cd zeromq2-x; sudo make install; sudo ldconfig )
- ./configure && make check

# Perform regression test build against ZeroMQ v3.x
- ( cd zeromq3-x; sudo make install; sudo ldconfig )
- ./configure && make check

# Perform regression test build against ZeroMQ v4.x
- ( cd libsodium; sudo make install; sudo ldconfig )
- ( cd zeromq4-x; sudo make install; sudo ldconfig )
- ./configure && make check

# Perform regression test build against ZeroMQ v4.x master
- ( cd libzmq; sudo make install; sudo ldconfig )
- ./configure && make check

{'fraction_non_alphanumeric': 0.11096014492753623, 'fraction_numerical': 0.012228260869565218, 'mean_word_length': 3.0907407407407406, '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': '591469', 'n_tokens_mistral': 814, 'n_tokens_neox': 751, 'n_words': 246}