<commit_before>dist: trusty
sudo: false

language: csharp
mono: none
dotnet: 1.0.1

install:
- mkdir ext
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/usbmuxd-osx-x64-1.1.0-74.tar.gz -O ext/usbmuxd-osx-x64-1.1.0-74.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/usbmuxd-linux-arm-1.1.0-74.tar.gz -O ext/usbmuxd-linux-arm-1.1.0-74.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/usbmuxd-linux-arm64-1.1.0-74.tar.gz -O ext/usbmuxd-linux-arm64-1.1.0-74.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/usbmuxd-linux-x64-1.1.0-74.tar.gz -O ext/usbmuxd-linux-x64-1.1.0-74.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/libimobiledevice-osx-x64-1.2.1-94.tar.gz -O ext/libimobiledevice-osx-x64-1.2.1-94.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/libimobiledevice-linux-arm64-1.2.1-94.tar.gz -O ext/libimobiledevice-linux-arm64-1.2.1-94.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/libimobiledevice-linux-arm-1.2.1-94.tar.gz -O ext/libimobiledevice-linux-arm-1.2.1-94.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/libimobiledevice-linux-x64-1.2.1-94.tar.gz -O ext/libimobiledevice-linux-x64-1.2.1-94.tar.gz
- tar -xvzf ext/usbmuxd-osx-x64-1.1.0-74.tar.gz -C ext
- tar -xvzf ext/usbmuxd-linux-arm-1.1.0-74.tar.gz -C ext
- tar -xvzf ext/usbmuxd-linux-arm64-1.1.0-74.tar.gz -C ext
- tar -xvzf ext/usbmuxd-linux-x64-1.1.0-74.tar.gz -C ext
- tar -xvzf ext/libimobiledevice-osx-x64-1.2.1-94.tar.gz -C ext
- tar -xvzf ext/libimobiledevice-linux-arm64-1.2.1-94.tar.gz -C ext
- tar -xvzf ext/libimobiledevice-linux-arm-1.2.1-94.tar.gz -C ext
- tar -xvzf ext/libimobiledevice-linux-x64-1.2.1-94.tar.gz -C ext
- dotnet restore iMobileDevice-net/iMobileDevice-net.csproj
- pip install --user azure-cli

script:
- dotnet build -c Release iMobileDevice-net/iMobileDevice-net.csproj
- dotnet pack -c Release iMobileDevice-net/iMobileDevice-net.csproj --version-suffix r$TRAVIS_BUILD_NUMBER

after_success:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then az=$HOME/Library/Python/2.7/bin/az; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then az=$HOME/.local/bin/az; fi
- $az storage blob upload -f iMobileDevice-net/bin/Release/iMobileDevice-net.1.2.1-$TRAVIS_BUILD_NUMBER.nupkg -c imobiledevice -n iMobileDevice-net.1.2.1-$TRAVIS_BUILD_NUMBER.nupkg<commit_msg>Only build for netstandard1.5 on Travis<commit_after>dist: trusty
sudo: false

language: csharp
mono: none
dotnet: 1.0.1

install:
- mkdir ext
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/usbmuxd-osx-x64-1.1.0-74.tar.gz -O ext/usbmuxd-osx-x64-1.1.0-74.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/usbmuxd-linux-arm-1.1.0-74.tar.gz -O ext/usbmuxd-linux-arm-1.1.0-74.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/usbmuxd-linux-arm64-1.1.0-74.tar.gz -O ext/usbmuxd-linux-arm64-1.1.0-74.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/usbmuxd-linux-x64-1.1.0-74.tar.gz -O ext/usbmuxd-linux-x64-1.1.0-74.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/libimobiledevice-osx-x64-1.2.1-94.tar.gz -O ext/libimobiledevice-osx-x64-1.2.1-94.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/libimobiledevice-linux-arm64-1.2.1-94.tar.gz -O ext/libimobiledevice-linux-arm64-1.2.1-94.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/libimobiledevice-linux-arm-1.2.1-94.tar.gz -O ext/libimobiledevice-linux-arm-1.2.1-94.tar.gz
- wget -nc https://qmcdn.blob.core.windows.net/imobiledevice/libimobiledevice-linux-x64-1.2.1-94.tar.gz -O ext/libimobiledevice-linux-x64-1.2.1-94.tar.gz
- tar -xvzf ext/usbmuxd-osx-x64-1.1.0-74.tar.gz -C ext
- tar -xvzf ext/usbmuxd-linux-arm-1.1.0-74.tar.gz -C ext
- tar -xvzf ext/usbmuxd-linux-arm64-1.1.0-74.tar.gz -C ext
- tar -xvzf ext/usbmuxd-linux-x64-1.1.0-74.tar.gz -C ext
- tar -xvzf ext/libimobiledevice-osx-x64-1.2.1-94.tar.gz -C ext
- tar -xvzf ext/libimobiledevice-linux-arm64-1.2.1-94.tar.gz -C ext
- tar -xvzf ext/libimobiledevice-linux-arm-1.2.1-94.tar.gz -C ext
- tar -xvzf ext/libimobiledevice-linux-x64-1.2.1-94.tar.gz -C ext
- dotnet restore iMobileDevice-net/iMobileDevice-net.csproj
#- pip install --user azure-cli

script:
- dotnet build -c Release -f netstandard1.5 iMobileDevice-net/iMobileDevice-net.csproj
#- dotnet pack -c Release iMobileDevice-net/iMobileDevice-net.csproj --version-suffix r$TRAVIS_BUILD_NUMBER

after_success:
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then az=$HOME/Library/Python/2.7/bin/az; fi
#- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then az=$HOME/.local/bin/az; fi
#- $az storage blob upload -f iMobileDevice-net/bin/Release/iMobileDevice-net.1.2.1-$TRAVIS_BUILD_NUMBER.nupkg -c imobiledevice -n iMobileDevice-net.1.2.1-$TRAVIS_BUILD_NUMBER.nupkg
{'fraction_non_alphanumeric': 0.1800536857319843, 'fraction_numerical': 0.06979145157959943, 'mean_word_length': 3.3757904245709125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6013241', 'n_tokens_mistral': 2451, 'n_tokens_neox': 2309, 'n_words': 278}