Created
March 27, 2017 11:22
-
-
Save mz2/65c32e691ae55d1b8c3e49391fdd986a to your computer and use it in GitHub Desktop.
An example .gitlab-ci.yml for running Vapor tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_script: | |
- git submodule update --init --recursive | |
cache: | |
key: ${CI_BUILD_REF_NAME} | |
paths: | |
- .build | |
build: | |
script: | |
- swift build -c debug | |
tags: | |
- swift | |
test: | |
script: | |
- .build/debug/App --env=test prepare --revert -y | |
- .build/debug/App --env=test prepare | |
- swift test | |
tags: | |
- swift |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment