language: python
sudo: true
python:
  - "2.6"
  - "2.7"

# command to install dependencies
# some are only used for travis/coveralls so we are installing them here only
install:
  - ./test/setup_test.sh
# command to run tests
# notice: the nose-cov is used because it is compatible with --processes, but produce a .coverage by process
# so we must combine them in the end
script:
  - cd test
  - pip freeze  # so to help eventual debug: know what exact versions are in use can be rather useful.
  - nosetests -xv --process-restartworker --processes=1 --process-timeout=300  --with-coverage --cover-package=alignak
  - coverage combine
  - cd .. && pep8 --max-line-length=100 --exclude='*.pyc' alignak/*
  - pylint --rcfile=.pylintrc --disable=I0011 --disable=E1101 -r no alignak/modules/*
  - pep257 --select=D300 alignak
# specific call to launch coverage data into coveralls.io
after_success:
  # to get coverage data with relative paths and not absolute we have to
  # execute coveralls from the base directory of the project,
  # so we need to move the .coverage file here :
  mv test/.coverage . && coveralls --rcfile=test/.coveragerc -v



language: python
sudo: true
python:
  - "2.6"
  - "2.7"

# command to install dependencies
# some are only used for travis/coveralls so we are installing them here only
install:
  - ./test/setup_test.sh
# command to run tests
# notice: the nose-cov is used because it is compatible with --processes, but produce a .coverage by process
# so we must combine them in the end
script:
  - cd test
  - pip freeze  # so to help eventual debug: know what exact versions are in use can be rather useful.
  - nosetests -xv --process-restartworker --processes=1 --process-timeout=300
  #- coverage combine
  - cd .. && pep8 --max-line-length=100 --exclude='*.pyc' alignak/*
  - pylint --rcfile=.pylintrc --disable=I0011 --disable=E1101 -r no alignak/modules/*
  - pep257 --select=D300 alignak
# specific call to launch coverage data into coveralls.io
#after_success:
  # to get coverage data with relative paths and not absolute we have to
  # execute coveralls from the base directory of the project,
  # so we need to move the .coverage file here :
  #mv test/.coverage . && coveralls --rcfile=test/.coveragerc -v



Disable coverage for the moment
Disable coverage for the moment
