forked from okta/okta-sdk-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (42 loc) · 1.33 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
language: csharp
mono: 6.6.0 # Use specific mono version due to a cake failure: https://github.com/cake-build/cake/issues/2695
sudo: required
dist: xenial
dotnet: 3.1
addons:
apt:
packages:
- dotnet-sdk-2.2
script:
- ./build.sh;
- if [[ $DEPLOY_DOCS = true && ($TRAVIS_PULL_REQUEST = false && $TRAVIS_BRANCH = master || "$TRAVIS_TAG" != "") ]]; then
./build.sh --target Docs;
fi
deploy:
- provider: pages
skip_cleanup: true
github_token: "$GITHUB_TOKEN"
local_dir: docs/temp
# email: [email protected]
name: ".NET Deployment Bot"
on:
condition: "$DEPLOY_DOCS = true"
tags: true
- provider: pages
skip_cleanup: true
github_token: "$GITHUB_TOKEN"
local_dir: docs/temp
#email: [email protected]
name: ".NET Deployment Bot"
on:
condition: "$DEPLOY_DOCS = true && $TRAVIS_PULL_REQUEST = false"
branch: master
env:
global:
secure: Nn2fgkaM5WjJiGtjAqPnFH2ULzef+lxemF8TgVaWysshgYWx3G8p70a1sm7tAzw15WQAeg7kGszSdpQqaVOd1fS7Hu7DoGexQcOJmHpoRZn6a50cxIc/2AFAcbW1Ar051Cl3KnNc+9b6L8KcOjAmDs4CMXHrg7BTsiqKbDoCuns=
# notifications:
# slack:
# if: type = cron
# secure: cLvrcIznO1QFFVe4lIav+4rVqB2nlpHswKDYplOGlDJ1s1KXYDwoqigFMN+mWmOkCcDUI1Bls/R1zfNWCAupIVRbj4eMREoQkwpVi+wVv5xQ/T5bYqVQMKqL6BGoodjnxkHzz7NbNNejYQbFtNkCvyC1Rl28VbiJIMZkh4wLNbI=
# on_success: never
# on_failure: always