-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
22 lines (22 loc) · 1.22 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
language: csharp
solution: robotlegs-sharp-framework-test.sln
install:
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- build_number=$TRAVIS_BUILD_NUMBER
- version_number=0.9.3
- xbuild /p:Configuration=Release robotlegs-sharp-framework-test.sln
- cp ./lib/*.dll ./bin/Release
- mono --runtime=v3.5 ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./bin/Release/Robotlegs-Sharp-Framework-Test.dll
after_success:
- mv bin/Release/*.dll bin/
- mkdir bin/editor
- mv bin/Robotlegs-Sharp-Platform-Unity-Editor.dll bin/editor/Robotlegs-Sharp-Platform-Unity-Editor.dll
- mv lib/swiftsuspenders-sharp.dll bin/swiftsuspenders-sharp.dll
- zip -r build.zip src bin/Robotlegs-Sharp-Framework.dll bin/Robotlegs-Sharp-Platform-Unity.dll bin/editor/Robotlegs-Sharp-Platform-Unity-Editor.dll bin/swiftsuspenders-sharp.dll readme.md LICENSE
- curl --ftp-create-dirs -T build.zip -u ${travis_ftp_user}:${travis_ftp_pass} ftp://$travis_ftp_host/robotlegs-sharp-framework-v${version_number}_b${build_number}.zip
- curl --data "version=${version_number}&build=${build_number}&update_key=${travis_update_key}" ${travis_update_url}
notifications:
email: