Add gitlab runner config

This commit is contained in:
Christian Treffs 2019-08-22 17:12:59 +02:00
parent e4ea373634
commit 79b87086ef
1 changed files with 24 additions and 0 deletions

24
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,24 @@
image: swift:latest
before_script:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
stages:
- build
- test
build_project:
stage: build
script:
- swift package reset
- swift build
tags:
- swift
test_project:
stage: test
script:
- swift package reset
- swift test
tags:
- swift