Refine build config

This commit is contained in:
Christian Treffs 2019-08-22 17:24:18 +02:00
parent e26b03ec5b
commit e5af20b65a
1 changed files with 9 additions and 7 deletions

View File

@ -1,19 +1,21 @@
image: swift:latest image: swift:5.0
before_script: #before_script:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)" #- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
stages: stages:
- build
- test - test
- build_release
build_project: build_project:
stage: build stage: build_release
script: script:
- swift package reset - swift package reset
- swift build - swift build -c release
tags: tags:
- docker - docker
only:
- master
test_project: test_project:
stage: test stage: test