<commit_before>SHELL := /bin/bash

.PHONY: travis_before_install
travis_before_install:
	sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
	sudo add-apt-repository -y ppa:cython-dev/master-ppa
	sudo apt-get update -qq
	sudo apt-get install -qq g++-4.8 gfortran protobuf-compiler \
		libprotobuf-dev libeigen3-dev python-scipy cython \
		libblas-dev liblapack-dev libatlas-base-dev

.PHONY: travis_install_py_deps
travis_install_py_deps:
	pip install -r .travis/requirements.txt

.PHONY: travis_install_distributions
travis_install_distributions: travis_install_py_deps
	(cd .travis && python install_distributions.py)

COMPILER := CC=gcc-4.8 CXX=g++-4.8

.PHONY: travis_install
travis_install: travis_install_distributions
	mkdir build
	(cd build && $(COMPILER) cmake -DCMAKE_INSTALL_PREFIX=$$VIRTUAL_ENV .. && make -j && make install)
	$(COMPILER) pip install .

.PHONY: travis_script
travis_script: 
	(cd build && make test)
	(cd test && nosetests --verbose)
<commit_msg>don't make -j b/c cmake doesn't set up the protobuf dep correctly<commit_after>SHELL := /bin/bash

.PHONY: travis_before_install
travis_before_install:
	sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
	sudo add-apt-repository -y ppa:cython-dev/master-ppa
	sudo apt-get update -qq
	sudo apt-get install -qq g++-4.8 gfortran protobuf-compiler \
		libprotobuf-dev libeigen3-dev python-scipy cython \
		libblas-dev liblapack-dev libatlas-base-dev

.PHONY: travis_install_py_deps
travis_install_py_deps:
	pip install -r .travis/requirements.txt

.PHONY: travis_install_distributions
travis_install_distributions: travis_install_py_deps
	(cd .travis && python install_distributions.py)

COMPILER := CC=gcc-4.8 CXX=g++-4.8

.PHONY: travis_install
travis_install: travis_install_distributions
	mkdir build
	(cd build && $(COMPILER) cmake -DCMAKE_INSTALL_PREFIX=$$VIRTUAL_ENV .. && make && make install)
	$(COMPILER) pip install .

.PHONY: travis_script
travis_script: 
	(cd build && make test)
	(cd test && nosetests --verbose)

{'fraction_non_alphanumeric': 0.10723192019950124, 'fraction_numerical': 0.006982543640897756, 'mean_word_length': 4.9, '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': '7597297', 'n_tokens_mistral': 801, 'n_tokens_neox': 778, 'n_words': 166}