forked from KSP-KOS/KOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (25 loc) · 843 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
language: csharp
solution: src/kOS.sln
sudo: false
addons:
apt:
packages:
- python-sphinx
- nunit-console
env:
global:
- KSP_VERSION="1.6.1"
# 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_script:
- chmod +x .ci/travis/before_script.sh && ./.ci/travis/before_script.sh
script:
- xbuild /p:Configuration=Release $TRAVIS_SOLUTION
# I know framework 4.0 is wrong, just trying it to see if it fixes the test
- nunit-console -framework=4.0 src/kOS.Safe.Test/bin/Release/kOS.Safe.Test.dll
# - chmod +x .ci/travis/script-sphinxdocs.sh && ./.ci/travis/script-sphinxdocs.sh
# Cleanup the downloaded resources
after_script:
- chmod +x .ci/travis/after_script.sh && ./.ci/travis/after_script.sh