language: python
sudo: required
python:
  - 2.7
  - 3.5

install:
  ./test/setup_test.sh

script:
  # so to help eventual debug: knowing what exact versions are in use can be rather useful.
  # - pip freeze
  # Code static analysis
  # - pep8 --max-line-length=100 --exclude='*.pyc, *.cfg, *.log' --ignore='E402' alignak_app/*
  #- pylint --rcfile=.pylintrc alignak_webui/
  # No pep257 currently (Code doc compliance)
  # - pep257 --select=D300 alignak_webui
  # Code dynamic analysis
  - cd test
  # - coverage erase
  - nosetests -xv --nologcapture --process-restartworker --processes=1 --process-timeout=300 --with-coverage --cover-package=alignak_app test_*.py
#  - coverage combine
#  - coverage report -m
  - cd ..

# 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
  #mv test/.coverage . && coveralls -v

language: python
sudo: required
python:
  - 2.7
  - 3.5

install:
  ./test/setup_test.sh

script:
  # so to help eventual debug: knowing what exact versions are in use can be rather useful.
  # - pip freeze
  # Code static analysis
  # - pep8 --max-line-length=100 --exclude='*.pyc, *.cfg, *.log' --ignore='E402' alignak_app/*
  #- pylint --rcfile=.pylintrc alignak_webui/
  # No pep257 currently (Code doc compliance)
  # - pep257 --select=D300 alignak_webui
  # Code dynamic analysis
  - cd test
  # - coverage erase
  - nosetests -xv --nologcapture --process-restartworker --processes=1 --process-timeout=300 --with-coverage --cover-package=alignak_app test/test_*.py
#  - coverage combine
#  - coverage report -m
  - cd ..

# 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
  #mv test/.coverage . && coveralls -v

Fix wrong path for tests
Fix wrong path for tests
