mirror of
https://github.com/darksaid98/ubuntu-server-setup.git
synced 2026-12-01 22:22:31 +00:00
* 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
16 lines
549 B
YAML
16 lines
549 B
YAML
language: generic
|
|
sudo: required
|
|
matrix:
|
|
include:
|
|
- dist: trusty
|
|
sudo: required
|
|
# Use https (public access) instead of git for git-submodules. This modifies only Travis-CI behavior
|
|
git:
|
|
submodules: false
|
|
# use sed to replace the SSH URL with the public URL, then init and update submodules
|
|
before_install:
|
|
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
|
|
- git submodule update --init --recursive
|
|
script:
|
|
- bash -c 'shopt -s globstar; shellcheck ./*.sh; shellcheck ./tests/*.sh'
|
|
- bash tests/unit-tests.sh -skip |