.travis.yml
branches: only: - mastersudo: requireddist: trustylanguage: pythonpython: - 3.4jdk: - openjdk7before_script: - sudo apt-get update -qq# We need the following apt-get command in order to have test_sysstats.py unittest to work - sudo apt-get install htop coreutils - sudo bash ./deploy/provision.sh - sudo useradd -m -s /bin/bash -p $(openssl passwd -crypt "jenkins") -U "jenkins" - echo "jenkins ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers - source /opt/venv_nstat/bin/activate - export PYTHONPATH=$(pwd)script: - echo "Running Unittests" - coverage erase - coverage run --omit='/usr/local/lib/python3.4/*' --include='./util/*.py' --parallel-mode ./util/unittests/test_stats.py# - coverage run --omit='/usr/local/lib/python3.4/*' --include='./util/*.py' --parallel-mode ./util/unittests/test_file.py - coverage run --omit='/usr/local/lib/python3.4/*' --include='./util/*.py' --parallel-mode ./util/unittests/test_sysstats.py# - coverage run --omit='/usr/local/lib/python3.4/*' --include='./util/*.py' --parallel-mode ./util/unittests/test_html.py# - coverage run --omit='/usr/local/lib/python3.4/*' --include='./util/*.py' --parallel-mode ./util/unittests/test_process.py# - coverage run --omit='/usr/local/lib/python3.4/*' --include='./util/*.py' --parallel-mode ./util/unittests/test_netutil.py - coverage run --omit='/usr/local/lib/python3.4/*' --include='./util/*.py' --parallel-mode ./stress_test/nstat.py --help - coverage combineafter_success: coveralls deactivatenotifications: email: false