mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
run travis on ubuntu 14.04
This commit is contained in:
parent
8c937d6126
commit
259dc04f74
2 changed files with 11 additions and 4 deletions
14
.travis.yml
14
.travis.yml
|
|
@ -1,3 +1,5 @@
|
|||
dist: trusty
|
||||
sudo: required
|
||||
language: php
|
||||
php:
|
||||
- 5.4
|
||||
|
|
@ -5,6 +7,14 @@ php:
|
|||
- 5.6
|
||||
- 7.0
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- samba
|
||||
- smbclient
|
||||
- libsmbclient-dev
|
||||
- libsmbclient
|
||||
|
||||
env:
|
||||
global:
|
||||
- CURRENT_DIR=`pwd`
|
||||
|
|
@ -15,12 +25,10 @@ env:
|
|||
before_install:
|
||||
- pass=$(perl -e 'print crypt("test", "password")')
|
||||
- sudo useradd -m -p $pass test
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install samba smbclient
|
||||
- if [ "$BACKEND" == 'libsmbclient' ]; then ./install_libsmbclient.sh; fi
|
||||
- cd $CURRENT_DIR
|
||||
- chmod go+w $HOME
|
||||
- printf "%s\n%s\n" test test|sudo smbpasswd -s test
|
||||
- printf "%s\n%s\n" test test|sudo smbpasswd -a -s test
|
||||
- sudo mkdir /home/test/test
|
||||
- sudo chown test /home/test/test
|
||||
- |
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
sudo apt-get install libsmbclient-dev libsmbclient
|
||||
wget -O /tmp/libsmbclient-php.zip https://github.com/eduardok/libsmbclient-php/archive/master.zip
|
||||
unzip /tmp/libsmbclient-php.zip -d /tmp
|
||||
cd /tmp/libsmbclient-php-master
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue