diff options
-rw-r--r-- | .travis.yml | 13 | ||||
-rwxr-xr-x | testsuite/install.sh | 6 |
2 files changed, 13 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index b868e83b1..7df53364c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +sudo: false language: python matrix: include: @@ -26,3 +27,15 @@ notifications: channels: - "irc.freenode.org#bcfg2" use_notice: true +addons: + apt: + packages: + - swig + - libxml2-utils + - yum + - libaugeas0 + - augeas-lenses + - libacl1-dev + - libssl-dev + - python-gamin + - python-selinux diff --git a/testsuite/install.sh b/testsuite/install.sh index 4d8778ad7..6f182bc0a 100755 --- a/testsuite/install.sh +++ b/testsuite/install.sh @@ -2,9 +2,6 @@ # install script for Travis-CI -sudo apt-get update -qq -sudo apt-get install swig libxml2-utils - pip install -r testsuite/requirements.txt PYVER=$(python -c 'import sys;print(".".join(str(v) for v in sys.version_info[0:2]))') @@ -14,9 +11,6 @@ if [[ ${PYVER:0:1} == "2" && $PYVER != "2.7" ]]; then fi if [[ "$WITH_OPTIONAL_DEPS" == "yes" ]]; then - sudo apt-get install -y yum libaugeas0 augeas-lenses libacl1-dev libssl-dev \ - python-gamin python-selinux - pip install PyYAML pyinotify boto pylibacl Jinja2 mercurial guppy cherrypy python-augeas if [[ ${PYVER:0:1} == "2" ]]; then |