<commit_before>#!/bin/sh

############
# JS
# Install node modules
(cd js ; npm install)

############
# Ruby
(cd ruby; bundle install)

############
# Haskell
# Install stack from fpcomplete repo
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 575159689BEFB442
echo 'deb http://download.fpcomplete.com/ubuntu precise main'|sudo tee /etc/apt/sources.list.d/fpco.list
sudo apt-get update && sudo apt-get install stack -y
(cd haskell; stack setup ; stack install)

############
# Python 
(sudo pip install ./python)

############
# Rust 
sudo curl -sSf https://static.rust-lang.org/rustup.sh | sh
(cd rust; cargo install)

############
# C++
cd cpp
BIOTOOL_CPP_PATH=`pwd`
wget --no-check-certificate http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz
tar -xvzf cmake-3.4.1.tar.gz 
cd cmake-3.4.1/ 
./configure
make
sudo make install
wget http://packages.seqan.de/seqan-library/seqan-library-2.1.1.tar.xz 
tar xvf seqan-library-2.1.1.tar.xz
mkdir biotool-build
cd biotool-build
cmake $BIOTOOL_CPP_PATH -DCMAKE_MODULE_PATH=$BIOTOOL_CPP_PATH/seqan-library-2.1.1/share/cmake/Modules/ -DSEQAN_INCLUDE_PATH=$BIOTOOL_CPP_PATH/seqan-library-2.1.1/include/ -DCMAKE_CXX_FLAGS=-std=c++11
(make)<commit_msg>Remove verbosity of tar command to make travis CI build output shorter<commit_after>#!/bin/sh

############
# JS
# Install node modules
(cd js ; npm install)

############
# Ruby
(cd ruby; bundle install)

############
# Haskell
# Install stack from fpcomplete repo
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 575159689BEFB442
echo 'deb http://download.fpcomplete.com/ubuntu precise main'|sudo tee /etc/apt/sources.list.d/fpco.list
sudo apt-get update && sudo apt-get install stack -y
(cd haskell; stack setup ; stack install)

############
# Python 
(sudo pip install ./python)

############
# Rust 
sudo curl -sSf https://static.rust-lang.org/rustup.sh | sh
(cd rust; cargo install)

############
# C++
cd cpp
BIOTOOL_CPP_PATH=`pwd`
wget --no-check-certificate http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz
tar -xzf cmake-3.4.1.tar.gz 
cd cmake-3.4.1/ 
./configure
make
sudo make install
wget http://packages.seqan.de/seqan-library/seqan-library-2.1.1.tar.xz 
tar xvf seqan-library-2.1.1.tar.xz
mkdir biotool-build
cd biotool-build
cmake $BIOTOOL_CPP_PATH -DCMAKE_MODULE_PATH=$BIOTOOL_CPP_PATH/seqan-library-2.1.1/share/cmake/Modules/ -DSEQAN_INCLUDE_PATH=$BIOTOOL_CPP_PATH/seqan-library-2.1.1/include/ -DCMAKE_CXX_FLAGS=-std=c++11
(make)
{'fraction_non_alphanumeric': 0.18890675241157556, 'fraction_numerical': 0.03135048231511254, 'mean_word_length': 4.273305084745763, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1531705', 'n_tokens_mistral': 1044, 'n_tokens_neox': 952, 'n_words': 200}