-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
33 lines (29 loc) · 883 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
machine:
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
services:
- docker
dependencies:
pre:
- sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
- sudo apt-get update
- sudo apt-get install dotnet-dev-1.0.4
- chmod +x build.sh
override:
- ./build.sh build.cake --target=restore
cache_directories:
- ~/.nuget
compile:
override:
- ./build.sh build.cake --target=build
test:
override:
- ./build.sh build.cake --target=test
deployment:
builds:
branch: master
commands:
- mkdir publish/
- ./build.sh build.cake --target=publish
- docker build -f docker/runtime-linux.dockerfile -t codeyu/nancy-realworld:latest .