mirror of
https://github.com/scopatz/nanorc
synced 2025-06-20 13:40:07 +02:00
More checks
This commit is contained in:
parent
ed33f0cd0d
commit
b53c091ed0
@ -3,9 +3,8 @@
|
|||||||
|
|
||||||
# minimal = sh
|
# minimal = sh
|
||||||
os: linux
|
os: linux
|
||||||
language: minimal
|
|
||||||
|
|
||||||
dist: bionic
|
dist: bionic
|
||||||
|
language: minimal
|
||||||
|
|
||||||
git:
|
git:
|
||||||
depth: 3
|
depth: 3
|
||||||
@ -18,8 +17,8 @@ branches:
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
# Add unstable repos for the last version of nano
|
# Add unstable repos for the last version of nano
|
||||||
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse"
|
# - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse"
|
||||||
- sudo apt-get update -qq -y
|
- sudo apt-get update -qq -y
|
||||||
- sudo apt-get install -qq -y shellcheck nano_4.5
|
- sudo apt-get install -qq -y shellcheck
|
||||||
|
|
||||||
script: ./tests.sh
|
script: ./tests.sh
|
||||||
|
@ -160,7 +160,7 @@ f_install(){
|
|||||||
end="# END"
|
end="# END"
|
||||||
theme="${G_DIR}/themes/${G_THEME}/"
|
theme="${G_DIR}/themes/${G_THEME}/"
|
||||||
|
|
||||||
if [ ! cd "$HOME" ]; then
|
if cd "$HOME"; then
|
||||||
echo "Error: Cannot open or access ${HOME} directory."
|
echo "Error: Cannot open or access ${HOME} directory."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
2
tests.sh
2
tests.sh
@ -4,3 +4,5 @@
|
|||||||
nano --version
|
nano --version
|
||||||
|
|
||||||
shellcheck install.sh && exit 1
|
shellcheck install.sh && exit 1
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
1
todo.md
1
todo.md
@ -12,3 +12,4 @@
|
|||||||
0. maybe begin with version system 1.0.0
|
0. maybe begin with version system 1.0.0
|
||||||
0. make a function for error output/echo
|
0. make a function for error output/echo
|
||||||
0. make a library for functions (it is necessary #! ?)
|
0. make a library for functions (it is necessary #! ?)
|
||||||
|
0. check the latest version of nno in travisCi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user