Update tests (#2)

* Update testing library

* Refactored tests to use new testing library

* Add travis

* Modify travis to use https for git submodules

* Add shellcheck

* Remove shellcheck

* Add debian apt sources

* Add shellcheck

* Add travis status image
This commit is contained in:
Jason Hee authored and GitHub committed 2018-04-18 15:12:52 +08:00
1 parent 65eb29e4fe
commit 79ccba4ac2
6 files changed
+66 -20

No files matched your search

+7 -1
View File
@@ -1,4 +1,6 @@
# Bash setup script for Ubuntu servers
[![Build Status](https://travis-ci.org/jasonheecs/ubuntu-server-setup.svg?branch=master)](https://travis-ci.org/jasonheecs/ubuntu-server-setup)
This is a setup script to automate the setup and provisioning of Ubuntu servers. It does the following:
* Adds a new user account with sudo access
* Adds a public ssh key for the new user account
@@ -40,4 +42,8 @@ cat ~/.ssh/id_rsa.pub
Finally, you will be prompted to specify a [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the server. It will be set to 'Asia/Singapore' if you do not specify a value.
# Supported versions
This setup script has been tested against Ubuntu 14.04 and Ubuntu 16.04.
This setup script has been tested against Ubuntu 14.04 and Ubuntu 16.04.
# Running tests
Tests are run against a set of Vagrant VMs. To run the tests, run the following in the project's directory:
`./tests/tests.sh`