forked from KSP-KOS/KOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (27 loc) · 778 Bytes
/
Copy path.travis.yml
File metadata and controls
32 lines (27 loc) · 778 Bytes
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
language: csharp
solution: src/kOS.sln
sudo: false
# Pre-shared token for pushing notifications to slack chat
notifications:
slack: ksp-kos:51DTQ4ZBP9SlGNnLWJ5D84vp
# Before the install the library dlls need to be downloaded
before_install:
- cd Resources
- wget --quiet --user=$KOS_LIB_USER --password=$KOS_LIB_PASSWORD $KOS_LIB_URL -O kos.tar
- tar -xvf kos.tar
- cd ../
# Cleanup the downloaded resources
after_script:
- cd Resources
- rm *.dll
- cd ../
before_deploy:
- mkdir src/kOS/bin/dist
- tar -zcvf src/kOS/bin/dist/build_$TRAVIS_BUILD_NUMBER.tgz src/kOS/bin/Release/kOS*.dll
deploy:
provider: s3
access_key_id: "AKIAINHSGTBU5O3DKV2Q"
secret_access_key: "$S3_DEPLOY_SECRET"
bucket: "kos-artifacts"
skip_cleanup: true
local_dir: "src/kOS/bin/dist/"