Minor fixes and added travis configuration file
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -8,3 +8,4 @@ tests/*
|
|||||||
!tests/Debian
|
!tests/Debian
|
||||||
!tests/Debian/Vagrantfile
|
!tests/Debian/Vagrantfile
|
||||||
!tests/run-tests.sh
|
!tests/run-tests.sh
|
||||||
|
!tests/README.md
|
||||||
|
5
.travis.yml
Normal file
5
.travis.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
sudo: require
|
||||||
|
language: bash
|
||||||
|
|
||||||
|
script:
|
||||||
|
- ./xo-install.sh --run-test
|
@@ -20,7 +20,7 @@ Ubuntu HTTP Check: success
|
|||||||
|
|
||||||
Requirements:
|
Requirements:
|
||||||
```
|
```
|
||||||
OSX
|
OSX (not tested with anything else since this is mainly for my own use)
|
||||||
Vagrant
|
Vagrant
|
||||||
Virtualbox
|
Virtualbox
|
||||||
````
|
````
|
||||||
|
@@ -317,6 +317,7 @@ function InstallXO {
|
|||||||
else
|
else
|
||||||
echo
|
echo
|
||||||
echo "Looks like there was a problem when starting xo-server/reading journalctl. Please see logs for more details"
|
echo "Looks like there was a problem when starting xo-server/reading journalctl. Please see logs for more details"
|
||||||
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
} 2>$LOGFILE
|
} 2>$LOGFILE
|
||||||
@@ -345,6 +346,17 @@ function UpdateXOAutomate {
|
|||||||
UpdateNodeYarn
|
UpdateNodeYarn
|
||||||
UpdateXO
|
UpdateXO
|
||||||
;;
|
;;
|
||||||
|
--run-test)
|
||||||
|
if [ $OSNAME == "CentOS" ]; then
|
||||||
|
InstallDependenciesCentOS
|
||||||
|
InstallXO
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
InstallDependenciesDebian
|
||||||
|
InstallXO
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
StartUpScreen
|
StartUpScreen
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user