1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00

Merge pull request #30 from ewilly/master

Update
This commit is contained in:
ewilly 2017-07-26 22:04:18 +02:00 committed by GitHub
commit 757b17b0c0
6 changed files with 17 additions and 0 deletions

12
.travis.yml Normal file
View file

@ -0,0 +1,12 @@
{
"language": "node_js",
"before_install": [
"git clone https://github.com/YunoHost/package_linter /tmp/package_linter"
],
"script": [
"/tmp/package_linter/package_linter.py ./"
],
"group": "stable",
"dist": "trusty",
"os": "linux"
}

View file

@ -3,6 +3,7 @@
# yunohost backup create -n "bozon-test" --ignore-system --apps bozon
# yunohost backup delete bozon-test
set -eu
if [ ! -e _common.sh ]; then
# Get the _common.sh file if it's not in the current directory
sudo cp ../settings/scripts/_common.sh ./_common.sh

View file

@ -1,5 +1,6 @@
#!/bin/bash
set -eu
source _common.sh
source /usr/share/yunohost/helpers

View file

@ -2,6 +2,7 @@
# to test the functionnality :
# yunohost app remove bozon
set -u
if [ ! -e _common.sh ]; then
# Get the _common.sh file if it's not in the current directory
sudo cp ../settings/scripts/_common.sh ./_common.sh

View file

@ -4,6 +4,7 @@
# yunohost app remove bozon
# yunohost backup restore "bozon-test"
set -eu
if [ ! -e _common.sh ]; then
# Fetch helpers file if not in current directory
sudo cp ../settings/scripts/_common.sh ./_common.sh

View file

@ -1,5 +1,6 @@
#!/bin/bash
set -eu
source _common.sh
source /usr/share/yunohost/helpers