<commit_before># Needed Travis Variables
# DEPLOY_USER, DEPLOY_PASS, DEPLOY_HOST

# No sudo
sudo: false
# install node on the newest version of 4
language: node_js
node_js:
    - '4'
 # Npm install bower and grunt, then bower install and npm install
before_script:
    - 'gem install sass --version "=3.4.22"'
    - 'gem install compass --version "=1.0.3"'
    - 'npm install -g bower grunt-cli'
    - 'npm install'
    - 'bower install'

# Simply build the project for testing for now
script:
    - 'grunt'

# Deploymentt will go here, going to use: https://neemzy.org/articles/deploy-to-your-own-server-through-ssh-with-travis-ci
addons:
  apt:
    packages:
    - sshpass
after_success:
    - export SSHPASS=$DEPLOY_PASS
    - echo "Branch we are currently testing from:"
    - echo $TRAVIS_BRANCH
    - echo "Current Directory and it's contents:"
    - pwd
    - ls
    - echo "Packaging built project"
    - mkdir build
    - mv * build
    - tar -czf package.tgz build
    - export SSHPASS=$DEPLOY_PASS
    - - if [ "$TRAVIS_BRANCH" == "installTravis" ]; then echo "Deploying the project since we are on master branch..."; sshpass -e scp -o StrictHostKeyChecking=no package.tgz $DEPLOY_USER@$DEPLOY_HOST:/home/$DEPLOY_USER; cat deploy.sh | sshpass -e ssh -o StrictHostKeyChecking=no $DEPLOY_USER@$DEPLOY_HOST "cat > /tmp/deploy.sh ; chmod 755 /tmp/deploy.sh ; /tmp/deploy.sh"; fi<commit_msg>Moved travis to be in a single block<commit_after># Needed Travis Variables
# DEPLOY_USER, DEPLOY_PASS, DEPLOY_HOST

# No sudo
sudo: false
# install node on the newest version of 4
language: node_js
node_js:
    - '4'
 # Npm install bower and grunt, then bower install and npm install
before_script:
    - 'gem install sass --version "=3.4.22"'
    - 'gem install compass --version "=1.0.3"'
    - 'npm install -g bower grunt-cli'
    - 'npm install'
    - 'bower install'

# Simply build the project for testing for now
script:
    - 'grunt'

# Deploymentt will go here, going to use: https://neemzy.org/articles/deploy-to-your-own-server-through-ssh-with-travis-ci
addons:
  apt:
    packages:
    - sshpass
after_success:
    - if [ "$TRAVIS_BRANCH" == "installTravis" ]; then echo "Deploying the project since we are on master branch...";
        export SSHPASS=$DEPLOY_PASS;
        echo "Branch we are currently testing from:";
        echo $TRAVIS_BRANCH;
        echo "Current Directory and it's contents:";
        pwd;
        ls;
        echo "Packaging built project";
        mkdir build;
        mv * build;
        tar -czf package.tgz build;
        echo "Current Directory and it's contents:";
        pwd;
        ls;
        sshpass -e scp -o StrictHostKeyChecking=no package.tgz $DEPLOY_USER@$DEPLOY_HOST:/home/$DEPLOY_USER;
        cat deploy.sh | sshpass -e ssh -o StrictHostKeyChecking=no $DEPLOY_USER@$DEPLOY_HOST "cat > /tmp/deploy.sh;
        chmod 755 /tmp/deploy.sh;
        /tmp/deploy.sh";
    fi
{'fraction_non_alphanumeric': 0.1091344509066028, 'fraction_numerical': 0.008210742387957578, 'mean_word_length': 2.857519788918206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3245604', 'n_tokens_mistral': 1084, 'n_tokens_neox': 1004, 'n_words': 304}