forked from migueldeicaza/TensorFlowSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
15 lines (15 loc) · 918 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
language: csharp
solution: TensorFlowSharp.sln
script:
- tsh_version=1.3.0
- wget "https://www.nuget.org/api/v2/package/TensorFlowSharp/$tsh_version"
- tar xzvf $tsh_version native
- msbuild /t:Restore $TRAVIS_BUILD_DIR/TensorFlowSharp.sln
- cd $TRAVIS_BUILD_DIR/
- msbuild /p:Configuration=Release TensorFlowSharp.sln
- cp -R $TRAVIS_BUILD_DIR/native/libtensorflow.dylib $TRAVIS_BUILD_DIR/tests/TensorFlowSharp.Tests/bin/Release/libtensorflow.dylib
- cp -R $TRAVIS_BUILD_DIR/native/libtensorflow.dylib $TRAVIS_BUILD_DIR/tests/TensorFlowSharp.Tests.CSharp/bin/Release/libtensorflow.dylib
- cd $TRAVIS_BUILD_DIR/packages/xunit.runner.console.2.2.0/tools
- mono --arch=64 xunit.console.exe "$TRAVIS_BUILD_DIR/tests/TensorFlowSharp.Tests/bin/Release/TensorFlowSharp.Tests.dll" "$TRAVIS_BUILD_DIR/tests/TensorFlowSharp.Tests.CSharp/bin/Release/TensorFlowSharp.Tests.CSharp.dll"
mono: "5.2.0"
os: "osx"