'created smparkinVaporWeb from template https://github.com/vapor/web-template'
This commit is contained in:
43
circle.yml
Normal file
43
circle.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
version: 2
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
docker:
|
||||
- image: swift:4.1
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Compile code
|
||||
command: swift build
|
||||
- run:
|
||||
name: Run unit tests
|
||||
command: swift test
|
||||
|
||||
linux-release:
|
||||
docker:
|
||||
- image: swift:4.1
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Compile code with optimizations
|
||||
command: swift build -c release
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
tests:
|
||||
jobs:
|
||||
- linux
|
||||
- linux-release
|
||||
|
||||
nightly:
|
||||
triggers:
|
||||
- schedule:
|
||||
cron: "0 0 * * *"
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
jobs:
|
||||
- linux
|
||||
- linux-release
|
||||
|
||||
Reference in New Issue
Block a user