Browse Source

Use sudo to run apt-get

Jonas Borgström 12 năm trước cách đây
mục cha
commit
4321b01134
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -4,9 +4,9 @@ python:
   - "3.3"
 # command to install dependencies
 install:
+  - "sudo apt-get install fakeroot"
+  - "sudo mount / -o remount,user_xattr"
   - "pip install --use-mirrors Cython"
   - "pip install -e ."
-  - "apt-get install fakeroot"
-  - "mount / -o remount,user_xattr"
 # command to run tests
 script: fakeroot python -m darc.testsuite.run -vb