<commit_before>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm

before_script:
  - composer selfupdate
  - composer install --prefer-source --dev

install:
    - |
        sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then \
          git clone git://github.com/bitcoin/secp256k1.git libsecp256k1 \
          && cd libsecp256k1 \
          && ./autogen.sh && ./configure && make && sudo make install \
          && cd ..'
        fi
    - |
        sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then \
          git clone git://github.com/Bit-Wasp/secp256k1-php
          && cd secp256k1-php/secp256k1 \
          && phpize && ./configure && make && sudo make install \
          && cd ../..'
        fi
    - composer update

script:
  - php bin/phpunit --coverage-clover build/logs/clover.xml
  - php bin/phpcs -n --standard=PSR1,PSR2 --report=full src/
##  - php bin/phpmd src/ text build/rulesets/phpmd.xml

after_script:
  - php vendor/bin/coveralls
  - wget https://scrutinizer-ci.com/ocular.phar
  - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'

matrix:
    fast_finish: true<commit_msg>Sure try again.<commit_after>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm

before_script:
  - composer selfupdate
  - composer install --prefer-source --dev

install:
    - |
        sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then \
          git clone git://github.com/bitcoin/secp256k1.git libsecp256k1 \
          && cd libsecp256k1 \
          && ./autogen.sh && ./configure && make && sudo make install \
          && cd ..; fi'
    - |
        sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then \
          git clone git://github.com/Bit-Wasp/secp256k1-php
          && cd secp256k1-php/secp256k1 \
          && phpize && ./configure && make && sudo make install \
          && cd ../..; fi'
    - composer update

script:
  - php bin/phpunit --coverage-clover build/logs/clover.xml
  - php bin/phpcs -n --standard=PSR1,PSR2 --report=full src/
##  - php bin/phpmd src/ text build/rulesets/phpmd.xml

after_script:
  - php vendor/bin/coveralls
  - wget https://scrutinizer-ci.com/ocular.phar
  - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'

matrix:
    fast_finish: true
{'fraction_non_alphanumeric': 0.15459140690817186, 'fraction_numerical': 0.02695871946082561, 'mean_word_length': 2.0684754521963824, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '165068', 'n_tokens_mistral': 925, 'n_tokens_neox': 874, 'n_words': 185}