This repository has been archived by the owner on Jan 10, 2019. It is now read-only.
forked from tugberkugurlu/AspNetCore.Identity.MongoDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (36 loc) · 3.93 KB
/
.travis.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
34
35
36
37
38
39
40
41
42
43
sudo: required
dist: trusty
language: csharp
services:
- mongodb
addons:
artifacts: true
env:
global:
- COMMIT=${TRAVIS_COMMIT::8}
- ARTIFACTS_PATHS=./artifacts
- secure: MpHCEDNS9CkTRVOTMlomxOQVNaAqwnUOy7qdD3qeqZJi7o5cWYRbz5b1gbhDUgYqqMIi/WHX82Gxrnb9lTvKrDB9SZBGAQNGWS9clIZSaKCI1VB7G2vFt5t4b+gRjYx3pUZHwNW23xhLmq9k8QOzr7UHRW4WsLKlPfrlHz2Kmay8wgBOc5O1TwcH0HrEdeyuNZkd7k4n0nv0uf4FcUcvIxxNbLv77Cfqg3BchtznM79kSypYN/suS0GTlr0XIT+zrRKRg+3YkdFOdUqQzg0W6SOffBsyaDD0mHCEPiL+diaKCZvfZpBuY6YFNhOpzYEZnk558+8tLfJ7fKQw4z7RmZLQlugHuHiOTdxubmDeBm1+qPxduU/CPk3fjSH14EPNFVTY3iylEiEXrIuWyt8pqi8XUFn9FCHCqKwp1RF3NV8bFR44B2XDggs9UH5oauSj5pJwxrL1QyXvuA+eqimjTiPbzhkmOB3AfzQ/jMlhUQgt3aSmmZF8Ccekf+5eERpnm0o6hmz/SGhSp51uD0wSUwmIiiPmg/Gq2onzm+kdCz6s+y5ES4PzHXifCP9B4lLWW6cI2OH+tLLgZ0/4yytaPgqe9Rb/ckECZHRZXX5VRDb48CruU6NLFKbCGO0JVjtzYRAA7ur0VWSOP77AG1tgbfSrsgyQMo+0LsBG6DQ0B88=
- secure: pOpohtW9xYgVc+9ZejLKYUwJsCw8kCGM+4i9YIVY6kpbZGjrxftdggRrlqb3P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ke0UZ+g+qjh3ilSy8+DH8bn4PavWpXI0pBFnAu9S5DAPKwlrkcgd7hQUfusEOkMlPQpElWZ5v3poxvHFtUDCpfllss65KGtiASidT1to501F2WpSomU3uMatfwhFSmfOIpbay9YqGk++FivybxZSV5viHMU/wm+Vwj+kZ/b1YpMsI9Euw6K36g7W0WI7J2T5PPmmKrHhtug+AmZULFqpDb4vYHxvsX8y7de4jDCcVVFjiYtOJfkw=
- secure: hFGb7DIEw6UAXIEtvmIpGvSwnijtiFBHlQ+0v2FFx96qQEYMzzbUSaw1WJEOBxav8vnvBsUhgEE6eqKiVjm/aENy467ULpMIUcGdW2Ab6HVoiBpCG9688cXVCTQnBjldntWHJFieWx4ptGekM2/zQhTO/2evDschBJj/gm1A4zaG7zqgMB+1auPBuE6t2PtX34MKRpHdIZlENZdRQgWWPvaAnqZmmpBVvxA+V6iNQHcoVQ1ZS6ZFaWQ0t/19KpO0SY6bU5udM35Uojvl8ebj1W6IwByz2FG4n8jWGMRSBXIqlyJI9ibSDn479STqnI6ds0Ad14RITcj1esD+cyazMqbG8koS0kAClJzSM+PXBhdsZjharvqLuzJO61o+HqC2OMy2V93NZ0NfEGPWymG0cHDLPJ2TmJAG7lJLVY4yq1h2qPJH6BFZ/YAGAI9+HxNkvtKWtfFUNCMaZt0lWWpiCV1SG/KliwClBqWbBo/kLUmQ/bZjRpap3KASrVs1fc2u4bD6Ab4HU8xjtGcMRkceZGCmoVHeyECndxbl1iMbXzBDWhsuV3UA7+NPZDHAPsj1H/SunskdAQEWnxHFPvfCb4YEhbtvdFd68oecC9/NYQO/ORMfSDWMLRGU70Cs3G8mz8Iew4sCZc/YsoGUltUm4eMTB+y7go2TWOKhS/e/4OQ=
install:
- curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
- sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
- sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends dotnet-sdk-2.0.0
- curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
- sudo apt-get install -y nodejs
- sudo npm install semver -g
before_script:
- chmod u+x build.sh
- chmod u+x ./scripts/set-build-version.sh
- chmod u+x ./scripts/push-to-nuget.sh
- eval $(./scripts/set-build-version.sh)
- export PATH=$PATH:$HOME/.local/bin
- mono --version
- dotnet --info
script:
- ./build.sh --version=$PROJECT_BUILD_VERSION --configuration=RELEASE --pack
after_success:
- if [ ! -z "$TRAVIS_TAG" ] && semver $TRAVIS_TAG &>/dev/null; then ./scripts/push-to-nuget.sh --apikey=$NUGET_API_KEY --version=$PROJECT_BUILD_VERSION; fi