<commit_before># Fix clang
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
sudo apt-get -qq update
sudo apt-get -qq install build-essential
sudo apt-get -qq install llvm
sudo apt-get -qq install libstdc++-4.8-dev
sudo apt-get -qq install luarocks

# Install moonscript compiler
sudo luarocks install moonscript

# Install coveralls
sudo pip install cpp-coveralls

# I give up...
wget 'http://sourceforge.net/projects/luabinaries/files/5.2.3/Linux%20Libraries/lua-5.2.3_Linux32_64_lib.tar.gz/download' -O lua.tar.gz
tar xf lua.tar.gz
rm -f liblua52.so

clang++ -o ytest -std=c++1y -I./include -L`pwd`/ tests/*.cpp -llua52 -ldl && ./scripts/buildmoonscripts.sh && ./ytest<commit_msg>Travis version info<commit_after># Fix clang
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
sudo apt-get -qq update
sudo apt-get -qq install build-essential
sudo apt-get -qq install llvm
sudo apt-get -qq install libstdc++-4.8-dev
sudo apt-get -qq install luarocks

# Install moonscript compiler
sudo luarocks install moonscript

# Install coveralls
sudo pip install cpp-coveralls

# I give up...
wget 'http://sourceforge.net/projects/luabinaries/files/5.2.3/Linux%20Libraries/lua-5.2.3_Linux32_64_lib.tar.gz/download' -O lua.tar.gz
tar xf lua.tar.gz
rm -f liblua52.so

echo "== VERSIONS ============================================================="
clang++ --version
echo ""
luarocks --version
echo ""
g++ --version
echo ""
moon --version
echo "========================================================================="

clang++ -o ytest -std=c++1y -I./include -L`pwd`/ tests/*.cpp -llua52 -ldl && ./scripts/buildmoonscripts.sh && ./ytest
{'fraction_non_alphanumeric': 0.20840950639853748, 'fraction_numerical': 0.02315661182205972, 'mean_word_length': 4.19620253164557, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7441074', 'n_tokens_mistral': 612, 'n_tokens_neox': 571, 'n_words': 151}