mirror of
https://github.com/YunoHost-Apps/bozon_ynh.git
synced 2024-09-03 18:16:09 +02:00
commit
757b17b0c0
6 changed files with 17 additions and 0 deletions
12
.travis.yml
Normal file
12
.travis.yml
Normal 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"
|
||||||
|
}
|
|
@ -3,6 +3,7 @@
|
||||||
# yunohost backup create -n "bozon-test" --ignore-system --apps bozon
|
# yunohost backup create -n "bozon-test" --ignore-system --apps bozon
|
||||||
# yunohost backup delete bozon-test
|
# yunohost backup delete bozon-test
|
||||||
|
|
||||||
|
set -eu
|
||||||
if [ ! -e _common.sh ]; then
|
if [ ! -e _common.sh ]; then
|
||||||
# Get the _common.sh file if it's not in the current directory
|
# Get the _common.sh file if it's not in the current directory
|
||||||
sudo cp ../settings/scripts/_common.sh ./_common.sh
|
sudo cp ../settings/scripts/_common.sh ./_common.sh
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# to test the functionnality :
|
# to test the functionnality :
|
||||||
# yunohost app remove bozon
|
# yunohost app remove bozon
|
||||||
|
|
||||||
|
set -u
|
||||||
if [ ! -e _common.sh ]; then
|
if [ ! -e _common.sh ]; then
|
||||||
# Get the _common.sh file if it's not in the current directory
|
# Get the _common.sh file if it's not in the current directory
|
||||||
sudo cp ../settings/scripts/_common.sh ./_common.sh
|
sudo cp ../settings/scripts/_common.sh ./_common.sh
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
# yunohost app remove bozon
|
# yunohost app remove bozon
|
||||||
# yunohost backup restore "bozon-test"
|
# yunohost backup restore "bozon-test"
|
||||||
|
|
||||||
|
set -eu
|
||||||
if [ ! -e _common.sh ]; then
|
if [ ! -e _common.sh ]; then
|
||||||
# Fetch helpers file if not in current directory
|
# Fetch helpers file if not in current directory
|
||||||
sudo cp ../settings/scripts/_common.sh ./_common.sh
|
sudo cp ../settings/scripts/_common.sh ./_common.sh
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue