summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-21 13:48:45 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-21 13:48:45 -0400
commitbfa749b055983a6a41961ac1f49f1a8284aebc6d (patch)
tree80c4a777e26aa38f07f8940ec8ac53f42a496909
parent22016ee593d6047855964734a17120d2aea6b5a5 (diff)
downloadbcfg2-bfa749b055983a6a41961ac1f49f1a8284aebc6d.tar.gz
bcfg2-bfa749b055983a6a41961ac1f49f1a8284aebc6d.tar.bz2
bcfg2-bfa749b055983a6a41961ac1f49f1a8284aebc6d.zip
fixed install of optional deps
-rw-r--r--.travis.yml2
-rwxr-xr-xtestsuite/before_install.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 66b0ea87b..8e088e536 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@ env:
- WITH_OPTIONAL_DEPS=no
matrix:
exclude:
- - python: 3.2
+ - python: "3.2"
env: WITH_OPTIONAL_DEPS=yes
before_install:
- testsuite/before_install.sh
diff --git a/testsuite/before_install.sh b/testsuite/before_install.sh
index 25e864fed..3ebc51d01 100755
--- a/testsuite/before_install.sh
+++ b/testsuite/before_install.sh
@@ -2,7 +2,7 @@
# before_install script for Travis-CI
-apt-get update -qq
+sudo apt-get update -qq
if [[ "$WITH_OPTIONAL_DEPS" == "yes" ]]; then
- apt-get install -qq python-selinux python-pylibacl
+ sudo apt-get install -qq python-selinux python-pylibacl
fi