mirror of
https://github.com/mudler/luet.git
synced 2025-09-19 17:54:29 +00:00
Run tests as root to verify caps
This commit is contained in:
@@ -6,10 +6,10 @@ go:
|
|||||||
env:
|
env:
|
||||||
- "GO15VENDOREXPERIMENT=1"
|
- "GO15VENDOREXPERIMENT=1"
|
||||||
before_install:
|
before_install:
|
||||||
- make deps
|
- sudo apt-get install -y libcap2-bin
|
||||||
- curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64 && chmod +x container-diff-linux-amd64 && mkdir -p $HOME/bin && export PATH=$PATH:$HOME/bin && mv container-diff-linux-amd64 $HOME/bin/container-diff
|
- sudo make deps
|
||||||
script:
|
script:
|
||||||
- make multiarch-build test-integration test-coverage
|
- sudo make multiarch-build test-integration test-coverage
|
||||||
after_success:
|
after_success:
|
||||||
- |
|
- |
|
||||||
if [ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
if [ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
|
Reference in New Issue
Block a user