Add 'sudo' in apt-get

This commit is contained in:
Tomofumi Hayashi 2015-03-18 16:01:56 +09:00
parent c20147c396
commit a4bce0008d
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ language: c
compiler:
- gcc
before_script:
- apt-get install -y git wget bison flex libgmp-dev libreadline-dev libnfnetlink-dev libmnl-dev libssl-dev
- sudo apt-get install -y git wget bison flex libgmp-dev libreadline-dev libnfnetlink-dev libmnl-dev libssl-dev
- (wget -O - ftp://ftp.netfilter.org/pub/libnftnl/libnftnl-1.0.3.tar.bz2 | tar xvfpj - ; cd libnftnl-1.0.3; ./configure; make ; make install)
- (wget -O - ftp://ftp.netfilter.org/pub/nftables/nftables-0.4.tar.bz2 | tar xvfpj - ; cd nftables-0.4; ./configure; make; make install)
- (wget -O - ftp://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-1.0.1.tar.bz2 | tar xvfpj -; cd libnfnetlink-1.0.1; ./configure; make ; make install)