<commit_before>language: python
python:
  - "2.7"
sudo: required
dist: trusty
addons:
  apt:
    packages:
      - build-essential
      - autoconf
      - automake
      - libtool
      - libreadline6-dev
      - libncurses5-dev
      - libgsl0-dev
      - python-all-dev
      - python-numpy
      - python-scipy
      - python-sympy
      - openmpi-bin
      - libopenmpi-dev
install:
  - pip install -r requirements.txt
  - source ci/install_nest.sh
  - source ci/install_neuron.sh
  - wget https://github.com/sympy/sympy/archive/master.zip && unzip master.zip && pip install ./sympy-master
  - wget https://github.com/tclose/lib9ML/archive/develop.zip && unzip develop.zip && pip install ./lib9ML-develop
  - wget https://github.com/tclose/NineMLCatalog/archive/develop_backport.zip && unzip develop_backport.zip && pip install ./NineMLCatalog-develop_backport  
  - pip install coveralls
  - pip install .
  - cd ./pype9/neuron/cells/code_gen/libninemlnrn
  - make
  - export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/pype9/neuroon/cells/code_gen/libninemlnrn:$LD_LIBRARY_PATH
script:
  - cd $TRAVIS_BUILD_DIR
  - nosetests test/test_*.py --with-coverage --cover-package=pype9
after_success:
  coveralls
cache:
  directories:
    - $HOME/nest-2.10.0
    - $HOME/nrn-7.3
    - $HOME/build/nest-2.10.0
    - $HOME/build/nrn-7.3
    - $HOME/.cache/pip<commit_msg>changed order of install so that neuron is installed before PyNN<commit_after>language: python
python:
  - "2.7"
sudo: required
dist: trusty
addons:
  apt:
    packages:
      - build-essential
      - autoconf
      - automake
      - libtool
      - libreadline6-dev
      - libncurses5-dev
      - libgsl0-dev
      - python-all-dev
      - python-numpy
      - python-scipy
      - python-sympy
      - openmpi-bin
      - libopenmpi-dev
install:
  - source ci/install_nest.sh
  - source ci/install_neuron.sh
  - pip install -r requirements.txt
  - wget https://github.com/sympy/sympy/archive/master.zip && unzip master.zip && pip install ./sympy-master
  - wget https://github.com/tclose/lib9ML/archive/develop.zip && unzip develop.zip && pip install ./lib9ML-develop
  - wget https://github.com/tclose/NineMLCatalog/archive/develop_backport.zip && unzip develop_backport.zip && pip install ./NineMLCatalog-develop_backport  
  - pip install coveralls
  - pip install .
  - cd ./pype9/neuron/cells/code_gen/libninemlnrn
  - make
  - export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/pype9/neuroon/cells/code_gen/libninemlnrn:$LD_LIBRARY_PATH
script:
  - cd $TRAVIS_BUILD_DIR
  - nosetests test/test_*.py --with-coverage --cover-package=pype9
after_success:
  coveralls
cache:
  directories:
    - $HOME/nest-2.10.0
    - $HOME/nrn-7.3
    - $HOME/build/nest-2.10.0
    - $HOME/build/nrn-7.3
    - $HOME/.cache/pip
{'fraction_non_alphanumeric': 0.1221539573545356, 'fraction_numerical': 0.01590169859053126, 'mean_word_length': 2.5808538163001296, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '3767464', 'n_tokens_mistral': 1055, 'n_tokens_neox': 1025, 'n_words': 169}