-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (40 loc) · 955 Bytes
/
.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
language: csharp
mono: none
dotnet: 2.1.200
git:
depth: 3
branches:
only:
- nightly
before_install: true
install: true
before_script: true
script:
- cd MDACSAuth
- dotnet restore
- dotnet build
- git config --local user.name "Travis-CI"
- git config --local user.email "[email protected]"
- printf -- "$GHSSHK" > ~/.ssh/id_github_mdacs
- chmod 600 ~/.ssh/id_github_mdacs
- echo "Host github.com" >> ~/.ssh/config
- echo " IdentityFile ~/.ssh/id_github_mdacs" >> ~/.ssh/config
- chmod 600 ~/.ssh/config
- mkdir ~/tmp/
- cp ./bin/Debug/netcoreapp2.0/* ~/tmp/
- cd ~
- git clone [email protected]:kmcguire3413/MDACSDeliverables.git
- cd MDACSDeliverables
- cd Nightly
- mkdir -p MDACSAuth
- cd MDACSAuth
- cp ~/tmp/* ./
- git add *
- git commit -m "travis-ci automated deploy of nightly MDACSAuth"
- git push origin master
before_cache: true
before_deploy: true
deploy:
skip_cleanup: false
after_deploy: true
after_script: true