forked from robotlegs-sharp/robotlegs-sharp-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (21 loc) · 1.16 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
- zip -r build.zip src bin/Robotlegs-Sharp-Framework.dll bin/Robotlegs-Sharp-Platform-Unity.dll bin/editor/Robotlegs-Sharp-Platform-Unity-Editor.dll lib/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: