<commit_before>env:
    #global environmental variables control magento instal parameters
    #see also hosts in addons.
    global:
    - PULSESTORM_MAGE2_FAKE_URL=http://magento-2-travis.dev
    - PULSESTORM_MAGE2_ADMIN_EMAIL=<EMAIL>
    - PULSESTORM_MAGE2_ADMIN_FIRST_NAME=Robert
    - PULSESTORM_MAGE2_ADMIN_LAST_NAME=Hoffner
    - PULSESTORM_MAGE2_ADMIN_USERNAME=admin
    - PULSESTORM_MAGE2_ADMIN_PASSWORD=<PASSWORD>
    - PULSESTORM_MAGE2_ADMIN_DBNAME=magento_2_travis
    - PULSESTORM_COMPOSER_REPOSITORY_TO_TEST=<EMAIL>:Vendic/RegenerateProductUrls.git
addons:
  hosts:
    # should match PULSESTORM_MAGE2_FAKE_URL above
    - magento-2-travis.dev
language: php
sudo: required
dist: trusty
php:
   - 7.0
before_script:
    - composer selfupdate
    - echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
    - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty multiverse" && sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse"
    - sudo apt-get update -qq
    - sudo apt-get remove -y -qq --purge mysql-common mysql-server-5.5 mysql-server-core-5.5 mysql-client-5.5 mysql-client-core-5.5
    - sudo apt-get -y -qq autoremove;
    - sudo apt-get -y -qq autoclean;
    - sudo apt-get install -y -qq mysql-server-5.6 mysql-client-5.6;
    - mysql -uroot -e 'SET @@global.sql_mode = NO_ENGINE_SUBSTITUTION; CREATE DATABASE magento_2_travis;';
    - sudo apt-get install -y -qq apache2 libapache2-mod-fastcgi
    - sudo cp ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.d/www.conf.default ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.d/www.conf 2>/dev/null || true
    - sudo cp ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf.default ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf
    - sudo a2enmod rewrite actions fastcgi alias
    - echo "cgi.fix_pathinfo = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
    - ~/.phpenv/versions/$(phpenv version-name)/sbin/php-fpm
    - sudo chmod 777 /home /home/travis /home/travis/build
    - sudo cp -f .travis/travis-ci-apache /etc/apache2/sites-available/000-default.conf
    - sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/000-default.conf
    - sudo service apache2 restart
    - git clone https://github.com/magento/magento2
    # install Magento
    - cd magento2
    # switch to specific branch in you like
    - git checkout 2.0;git checkout tags/2.1.7<commit_msg>Added branches whitelist to Travis<commit_after>env:
    #global environmental variables control magento instal parameters
    #see also hosts in addons.
    global:
    - PULSESTORM_MAGE2_FAKE_URL=http://magento-2-travis.dev
    - PULSESTORM_MAGE2_ADMIN_EMAIL=<EMAIL>
    - PULSESTORM_MAGE2_ADMIN_FIRST_NAME=Robert
    - PULSESTORM_MAGE2_ADMIN_LAST_NAME=Hoffner
    - PULSESTORM_MAGE2_ADMIN_USERNAME=admin
    - PULSESTORM_MAGE2_ADMIN_PASSWORD=<PASSWORD>
    - PULSESTORM_MAGE2_ADMIN_DBNAME=magento_2_travis
    - PULSESTORM_COMPOSER_REPOSITORY_TO_TEST=<EMAIL>:Vendic/RegenerateProductUrls.git
addons:
  hosts:
    # should match PULSESTORM_MAGE2_FAKE_URL above
    - magento-2-travis.dev
branches:
  only:
  - gh-pages
  - /.*/
language: php
sudo: required
dist: trusty
php:
   - 7.0
before_script:
    - composer selfupdate
    - echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
    - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty multiverse" && sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse"
    - sudo apt-get update -qq
    - sudo apt-get remove -y -qq --purge mysql-common mysql-server-5.5 mysql-server-core-5.5 mysql-client-5.5 mysql-client-core-5.5
    - sudo apt-get -y -qq autoremove;
    - sudo apt-get -y -qq autoclean;
    - sudo apt-get install -y -qq mysql-server-5.6 mysql-client-5.6;
    - mysql -uroot -e 'SET @@global.sql_mode = NO_ENGINE_SUBSTITUTION; CREATE DATABASE magento_2_travis;';
    - sudo apt-get install -y -qq apache2 libapache2-mod-fastcgi
    - sudo cp ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.d/www.conf.default ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.d/www.conf 2>/dev/null || true
    - sudo cp ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf.default ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf
    - sudo a2enmod rewrite actions fastcgi alias
    - echo "cgi.fix_pathinfo = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
    - ~/.phpenv/versions/$(phpenv version-name)/sbin/php-fpm
    - sudo chmod 777 /home /home/travis /home/travis/build
    - sudo cp -f .travis/travis-ci-apache /etc/apache2/sites-available/000-default.conf
    - sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/000-default.conf
    - sudo service apache2 restart
    - git clone https://github.com/magento/magento2
    # install Magento
    - cd magento2
    # switch to specific branch in you like
    - git checkout 2.0;git checkout tags/2.1.7
{'fraction_non_alphanumeric': 0.12800158761659058, 'fraction_numerical': 0.019845207382417147, 'mean_word_length': 3.2675698560541915, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '4569251', 'n_tokens_mistral': 2009, 'n_tokens_neox': 1931, 'n_words': 346}