-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
version: 1.0.{build} | ||
|
||
environment: | ||
matrix: | ||
# MSVC x32 | ||
- name: win32 | ||
platform: x86 | ||
qt: 5.9\msvc2015 | ||
# MSVC x64 | ||
- name: win64 | ||
platform: amd64 | ||
qt: 5.9\msvc2015_64 | ||
|
||
init: | ||
- set PATH=C:\Qt\%qt%\bin;%PATH% | ||
- if call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform% | ||
|
||
build_script: | ||
- ps: | | ||
# be aware that vcvarsall will reset platform amd64 to X64! | ||
echo "platform: $env:platform" | ||
echo "qt: $env:qt" | ||
qmake -query | ||
Get-Location | ||
Write-Host "Finished build_script" | ||
test_script: | ||
- ps: | | ||
$env:projdir=(C:\msys64\usr\bin\bash.exe -c "pwd") | ||
C:\msys64\usr\bin\bash.exe -lc "echo $env:projdir" | ||
Write-Host "Finished test_script with exit status $LastExitCode" | ||
deploy_script: | ||
- ps: | | ||
$env:projdir=(C:\msys64\usr\bin\bash.exe -c "pwd") | ||
C:\msys64\usr\bin\bash.exe -lc "cd $env:projdir; ./ci_tokens" | ||
Write-Host "Finished deploy_script" | ||
#deploy: | ||
# tag: 'continuous windows' | ||
# release: 'Continuous windows build' | ||
# description: 'Continuous build' | ||
# provider: GitHub | ||
# auth_token: | ||
# secure: gOkGevzhckv5gwFMhnyRk9JZqn6eaZ4vdVFkRdjL6p6NNZu7mwf8aTfMhWSnhaS2 # your encrypted token from GitHub | ||
# artifact: /GPSBabel.*Setup.exe/ # upload installer to release assets | ||
# draft: false | ||
# prerelease: true | ||
# on: | ||
# branch: master # release from master branch only | ||
# appveyor_repo_tag: false # deploy on tag push only | ||
# platform: x86 | ||
# qt: 5.9\msvc2015 | ||
|
||
skip_tags: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash -e | ||
|
||
# echo hashed tokens for debug | ||
# this should work on linux or osx. | ||
# this is run by travis. | ||
|
||
#!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
# don't leak unhashed tokens! | ||
#!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
set +x | ||
if [ ! -z "${CODACY_PROJECT_TOKEN+x}" ] ; then | ||
echo -n "CODACY_PROJECT_TOKEN hash: " | ||
echo -n "$CODACY_PROJECT_TOKEN" | openssl dgst -sha512 | cut -d " " -f 2 | ||
else | ||
echo CODACY_PROJECT_TOKEN not set. | ||
fi | ||
if [ ! -z "${GITHUB_TOKEN+x}" ] ; then | ||
echo -n "GITHUB_TOKEN hash: " | ||
echo -n "$GITHUB_TOKEN" | openssl dgst -sha512 | cut -d " " -f 2 | ||
else | ||
echo GITHUB_TOKEN not set. | ||
fi | ||
set -x |