<commit_before>language: node_js
node_js:
  - "6"
  - "6.1"

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-4.7
      - g++-4.7

before_install:
  - if [ $TRAVIS_OS_NAME == "linux" ]; then
      export CC="gcc-4.7";
      export CXX="g++-4.7";
      export LINK="gcc-4.7";
      export LINKXX="g++-4.7";
    fi
  - nvm --version
  - node --version
  - npm --version
  - gcc --version
  - g++ --version
<commit_msg>Add generic .travis.yml<commit_after>sudo: required

language: generic

services:
  - docker

before_install:
  - docker pull truffle/ci

env:
  - TEST=repo
  - TEST=upstream
  - TEST=scenario

script:
  - >
    docker run -it --rm --name ${TEST} \
        -e TRAVIS_REPO_SLUG \
        -e TRAVIS_PULL_REQUEST \
        -e TRAVIS_PULL_REQUEST_SLUG \
        -e TRAVIS_PULL_REQUEST_BRANCH \
        -e TRAVIS_BRANCH \
        -e TEST \
      truffle/ci:latest run_tests

{'fraction_non_alphanumeric': 0.13882863340563992, 'fraction_numerical': 0.016268980477223426, 'mean_word_length': 1.9208860759493671, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5509937', 'n_tokens_mistral': 382, 'n_tokens_neox': 366, 'n_words': 73}