mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
remove old ci
This commit is contained in:
parent
d66b912c07
commit
4d09f2a55c
2 changed files with 0 additions and 73 deletions
|
|
@ -1,17 +0,0 @@
|
|||
tools:
|
||||
php_sim: true
|
||||
php_pdepend: true
|
||||
php_analyzer: true
|
||||
external_code_coverage:
|
||||
timeout: 600
|
||||
runs: 4
|
||||
filter:
|
||||
excluded_paths:
|
||||
- 'tests/*'
|
||||
|
||||
build:
|
||||
nodes:
|
||||
analysis:
|
||||
tests:
|
||||
override:
|
||||
- php-scrutinizer-run
|
||||
56
.travis.yml
56
.travis.yml
|
|
@ -1,56 +0,0 @@
|
|||
dist: bionic
|
||||
sudo: required
|
||||
language: php
|
||||
php:
|
||||
- 7.3
|
||||
- 7.4
|
||||
- 8.0
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- samba
|
||||
- smbclient
|
||||
- libsmbclient-dev
|
||||
- libsmbclient
|
||||
|
||||
env:
|
||||
global:
|
||||
- CURRENT_DIR=`pwd`
|
||||
matrix:
|
||||
- BACKEND=smbclient
|
||||
- BACKEND=libsmbclient
|
||||
|
||||
before_install:
|
||||
- pass=$(perl -e 'print crypt("test", "test")')
|
||||
- sudo useradd -m -p $pass test
|
||||
- if [ "$BACKEND" == 'libsmbclient' ]; then ./install_libsmbclient.sh; fi
|
||||
- cd $CURRENT_DIR
|
||||
- chmod go+w $HOME
|
||||
- printf "%s\n%s\n" test test|sudo smbpasswd -a -s test
|
||||
- sudo mkdir /home/test/test
|
||||
- sudo chown test /home/test/test
|
||||
- |
|
||||
echo "[test]
|
||||
comment = test
|
||||
path = /home/test
|
||||
guest ok = yes
|
||||
writeable = yes
|
||||
map archive = yes
|
||||
map system = yes
|
||||
map hidden = yes
|
||||
create mask = 0777
|
||||
inherit permissions = yes" | sudo tee -a /etc/samba/smb.conf
|
||||
- sudo service smbd restart
|
||||
- testparm -s
|
||||
|
||||
install:
|
||||
- composer install --no-interaction
|
||||
|
||||
script:
|
||||
- vendor/bin/phpunit --coverage-clover clover.xml -c tests/phpunit.xml
|
||||
- vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --dry-run --diff --diff-format udiff
|
||||
|
||||
after_script:
|
||||
- wget https://scrutinizer-ci.com/ocular.phar
|
||||
- php ocular.phar code-coverage:upload --format=php-clover clover.xml
|
||||
Loading…
Add table
Add a link
Reference in a new issue