diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..68a146fac16ef5c12bbfe539896dc39de8954b8e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,7 @@ +--- +test: + image: alpine:3.12 + before_script: + - apk add --update docker bats + script: + - bats . diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 658db49298215c231665efc7deb2be5fc79ab80f..0000000000000000000000000000000000000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -language: c -dist: trusty -sudo: false -group: beta -services: - - docker - -script: - - bats test.bats - -notifications: - email: false - on_failure: never diff --git a/README.md b/README.md index 15e2fcb8a4d4bd52fb59e39be9e7d00205e988a6..051faf1b9fcfe0b837bb8491fb8030cd170a71a9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Docker runas test -[](https://travis-ci.org/adarnimrod/docker-runas-test) + [](https://git.shore.co.il/nimrod/docker-runas-test/-/commits/master) > A test suite for the runas Docker entrypoint. See [here](https://www.shore.co.il/blog/docker_uid/) for more info. @@ -25,4 +25,4 @@ This software is licensed under the MIT license (see `LICENSE.txt`). Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website]( https://www.shore.co.il/). Patches are welcome via [`git send-email`]( http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located -at: <https://www.shore.co.il/git/>. +at: <https://git.shore.co.il/explore/>. diff --git a/test.bats b/test.bats old mode 100755 new mode 100644 index 7ca89e29b8c89a40b3e4eaab956d03765b60fbc7..70ceaa9a944b6812bcfe1c6b1786e98b888afcd1 --- a/test.bats +++ b/test.bats @@ -1,5 +1,3 @@ -#!/usr/bin/env bats - _test_root () { name="${1:-$BATS_TEST_DESCRIPTION}" tag="${2:-latest}"