File tree Expand file tree Collapse file tree 2 files changed +79
-0
lines changed Expand file tree Collapse file tree 2 files changed +79
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 1.0.{build}
2+
3+ environment :
4+ matrix :
5+ # MSVC x32
6+ - name : win32
7+ platform : x86
8+ qt : 5.9\msvc2015
9+ # MSVC x64
10+ - name : win64
11+ platform : amd64
12+ qt : 5.9\msvc2015_64
13+
14+ init :
15+ - set PATH=C:\Qt\%qt%\bin;%PATH%
16+ - if call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform%
17+
18+ build_script :
19+ - ps : |
20+ # be aware that vcvarsall will reset platform amd64 to X64!
21+ echo "platform: $env:platform"
22+ echo "qt: $env:qt"
23+ qmake -query
24+ Get-Location
25+ Write-Host "Finished build_script"
26+
27+ test_script :
28+ - ps : |
29+ $env:projdir=(C:\msys64\usr\bin\bash.exe -c "pwd")
30+ C:\msys64\usr\bin\bash.exe -lc "echo $env:projdir"
31+ Write-Host "Finished test_script with exit status $LastExitCode"
32+
33+ deploy_script :
34+ - ps : |
35+ $env:projdir=(C:\msys64\usr\bin\bash.exe -c "pwd")
36+ C:\msys64\usr\bin\bash.exe -lc "cd $env:projdir; ./ci_tokens"
37+ Write-Host "Finished deploy_script"
38+
39+ # deploy:
40+ # tag: 'continuous windows'
41+ # release: 'Continuous windows build'
42+ # description: 'Continuous build'
43+ # provider: GitHub
44+ # auth_token:
45+ # secure: gOkGevzhckv5gwFMhnyRk9JZqn6eaZ4vdVFkRdjL6p6NNZu7mwf8aTfMhWSnhaS2 # your encrypted token from GitHub
46+ # artifact: /GPSBabel.*Setup.exe/ # upload installer to release assets
47+ # draft: false
48+ # prerelease: true
49+ # on:
50+ # branch: master # release from master branch only
51+ # appveyor_repo_tag: false # deploy on tag push only
52+ # platform: x86
53+ # qt: 5.9\msvc2015
54+
55+ skip_tags : true
56+
Original file line number Diff line number Diff line change 1+ #! /bin/bash -e
2+
3+ # echo hashed tokens for debug
4+ # this should work on linux or osx.
5+ # this is run by travis.
6+
7+ #! !!!!!!!!!!!!!!!!!!!!!!!!!!!
8+ # don't leak unhashed tokens!
9+ #! !!!!!!!!!!!!!!!!!!!!!!!!!!!
10+ set +x
11+ if [ ! -z " ${CODACY_PROJECT_TOKEN+x} " ] ; then
12+ echo -n " CODACY_PROJECT_TOKEN hash: "
13+ echo -n " $CODACY_PROJECT_TOKEN " | openssl dgst -sha512 | cut -d " " -f 2
14+ else
15+ echo CODACY_PROJECT_TOKEN not set.
16+ fi
17+ if [ ! -z " ${GITHUB_TOKEN+x} " ] ; then
18+ echo -n " GITHUB_TOKEN hash: "
19+ echo -n " $GITHUB_TOKEN " | openssl dgst -sha512 | cut -d " " -f 2
20+ else
21+ echo GITHUB_TOKEN not set.
22+ fi
23+ set -x
You can’t perform that action at this time.
0 commit comments