Passed
Branch master (7abb83)
by Giacomo
11:09
created

Repository Config

checks:
    python:
        code_rating: true
        duplicate_code: true

build:
  environment:
        python: 2.7.7
  nodes:
    main:
      dependencies:
        before:
          # runs before inferred commands
          - wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh
          - bash miniconda.sh -b -p $HOME/miniconda
          - export PATH=${HOME}/miniconda/bin:${PATH}
          - hash -r
          - conda config --set always_yes yes --set changeps1 no
          - conda update -q conda
          - conda create -n test-environment -c conda-forge -c threeml python=2.7 root5 numba numpy scipy astropy healpy threeml
          - source activate test-environment
          - hash -r
          - conda update -c conda-forge -c threeml threeml astromodels
          - conda install -c conda-forge pytest-cov codecov
          - pip install root_numpy

        override:
          - pip install .

        after:
          # runs after inferred commands
          # ...

      project_setup:
        # ...

      tests:
            override:
                - py-scrutinizer-run
                -
                    command: pylint-run
                    use_website_config: true
            
filter:
    excluded_paths:
        - 'tests/'
    dependency_paths:
        - 'lib/*'