forked from Azure/device-simulation-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtravis.cmd
More file actions
30 lines (24 loc) · 674 Bytes
/
travis.cmd
File metadata and controls
30 lines (24 loc) · 674 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
:: Copyright (c) Microsoft. All rights reserved.
@ECHO off & setlocal enableextensions enabledelayedexpansion
:: Example usage (see "travis help" for more information:
:: travis help
:: travis login --pro
:: travis whoami --pro
:: travis accounts --pro
:: travis history
:: travis monitor --pro
:: travis settings
:: travis show
:: travis status
:: travis token --pro
:: travis whatsup --pro
:: strlen("\scripts\") => 9
SET APP_HOME=%~dp0
SET APP_HOME=%APP_HOME:~0,-9%
cd %APP_HOME%
mkdir .travis 2>NUL
docker run -it ^
-v %APP_HOME%\.travis:/root/.travis ^
-v %APP_HOME%:/opt/code ^
azureiotpcs/travis-cli:1.8.8 /root/bin/travis.sh %*
endlocal