<commit_before>#!/bin/bash

set -ex

. "./dev/ci/start_xvfb.sh"

# FIXME Integration tests use ChokidarEvents and onFlush
# So, they are not yet compatible with atom/watcher
export COZY_FS_WATCHER=chokidar

yarn install:all
yarn build:elm
yarn lint
yarn test:elm
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
	yarn test:unit:coverage --timeout $MOCHA_TIMEOUT --forbid-only
	bash <(curl -s https://codecov.io/bash)
else
	yarn test:unit --timeout $MOCHA_TIMEOUT --forbid-only
fi
yarn test:world --timeout $MOCHA_TIMEOUT --forbid-only
yarn test:integration --timeout $MOCHA_TIMEOUT --forbid-only<commit_msg>ci/travis: Run integration tests with atom watcher on Linux<commit_after>#!/bin/bash

set -ex

. "./dev/ci/start_xvfb.sh"

yarn install:all
yarn build:elm
yarn lint
yarn test:elm
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
	yarn test:unit:coverage --timeout $MOCHA_TIMEOUT --forbid-only
	bash <(curl -s https://codecov.io/bash)
else
	yarn test:unit --timeout $MOCHA_TIMEOUT --forbid-only
fi
yarn test:world --timeout $MOCHA_TIMEOUT --forbid-only
yarn test:integration --timeout $MOCHA_TIMEOUT --forbid-only
{'fraction_non_alphanumeric': 0.12771739130434784, 'fraction_numerical': 0.0, 'mean_word_length': 4.497512437810945, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6910205', 'n_tokens_mistral': 429, 'n_tokens_neox': 417, 'n_words': 108}