File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,11 @@ notifications:
99 email :
1010 - team@appwrite.io
1111
12+ services :
13+ - docker
14+
1215before_install :
13- - sudo apt-get update
14- - sudo apt-get install -y clamav clamav-daemon wget
15- - sudo wget -O /var/lib/clamav/main.cvd http://database.clamav.net/main.cvd
16- - sudo wget -O /var/lib/clamav/daily.cvd http://database.clamav.net/daily.cvd
17- - sudo wget -O /var/lib/clamav/bytecode.cvd http://database.clamav.net/bytecode.cvd
18- - sudo chown clamav:clamav /var/lib/clamav/*.cvd
19- - sudo chown clamav:clamav /var/run/clamav
20- - sudo chmod 750 /var/run/clamav
21- - sudo clamd
16+ - docker-compose up -d
2217
2318before_script : composer install
2419
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class ClamAVTest extends TestCase
3131
3232 public function setUp ()
3333 {
34- $ this ->network = new Network ('127.0.0.1 ' , 3310 );
34+ $ this ->network = new Network ('localhost ' , 3310 );
3535 $ this ->pipe = new Pipe ('clam ' );
3636 }
3737
You can’t perform that action at this time.
0 commit comments