<commit_before>language: python
python:
  - "2.7"
  - "3.3"

sudo: false

addons:
  apt:
    packages:
      - git
      - libtool
      - autoconf
      - automake

before_install:
  - git clone git://github.com/bitcoin/secp256k1.git libsecp256k1
  - pushd libsecp256k1
  - ./autogen.sh
  - ./configure --enable-module-recovery --enable-module-ecdh --enable-module-schnorr
  - make
  - popd
  - virtualenv ENV
  - source ENV/bin/activate
  - pip install -U pip setuptools cffi coverage coveralls
  - INCLUDE_DIR=$(readlink -f ./libsecp256k1/include) LIB_DIR=$(readlink -f ./libsecp256k1/.libs) pip install secp256k1

install:
  - python setup.py -q install

script:
  - LD_LIBRARY_PATH=$(readlink -f ./libsecp256k1/.libs) coverage run --source=bitjws setup.py pytest

after_success:
  - coveralls<commit_msg>travis already gives us a virtualenv<commit_after>language: python
python:
  - "2.7"
  - "3.3"

sudo: false

addons:
  apt:
    packages:
      - git
      - libtool
      - autoconf
      - automake

before_install:
  - git clone git://github.com/bitcoin/secp256k1.git libsecp256k1
  - pushd libsecp256k1
  - ./autogen.sh
  - ./configure --enable-module-recovery --enable-module-ecdh --enable-module-schnorr
  - make
  - popd
  - pip install -U setuptools cffi coverage coveralls
  - INCLUDE_DIR=$(readlink -f ./libsecp256k1/include) LIB_DIR=$(readlink -f ./libsecp256k1/.libs) pip install secp256k1

install:
  - python setup.py -q install

script:
  - LD_LIBRARY_PATH=$(readlink -f ./libsecp256k1/.libs) coverage run --source=bitjws setup.py pytest

after_success:
  - coveralls
{'fraction_non_alphanumeric': 0.11949685534591195, 'fraction_numerical': 0.04025157232704402, 'mean_word_length': 2.7790973871733966, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '283450', 'n_tokens_mistral': 638, 'n_tokens_neox': 598, 'n_words': 129}