2 changed files with 1 additions and 117 deletions
@ -1,115 +0,0 @@
|
||||
version: 0.5.18-{build} |
||||
image: |
||||
- Visual Studio 2017 |
||||
environment: |
||||
nodejs_version: '10' |
||||
JAVA_HOME: C:\Program Files\Java\jdk1.8.0 |
||||
npm_config_loglevel: 'error' |
||||
SENCHA_VER: '6.7.0.37' |
||||
TAGPERM: |
||||
secure: FKiBHTmmImO3M5FhK2TMrnpojiT6ITuJ/LvrdLjj2xD0VkcYtXuvQr5nqoxouvph |
||||
stack: node 10, jdk 8 |
||||
pull_requests: |
||||
do_not_increment_build_number: true |
||||
branches: |
||||
only: |
||||
- master |
||||
- testing |
||||
except: |
||||
- snapshot-master |
||||
- snapshot-testing |
||||
|
||||
init: |
||||
- ps: git config --global core.autocrlf input |
||||
install: |
||||
- ps: >- |
||||
|
||||
Install-Product node ${env:nodejs_version} |
||||
|
||||
Invoke-WebRequest -Uri http://cdn.sencha.com/cmd/${env:SENCHA_VER}/no-jre/SenchaCmd-${env:SENCHA_VER}-windows-no_jre.zip -OutFile .\Sencha.zip |
||||
|
||||
Expand-Archive -Path .\Sencha.zip -DestinationPath .\SenchaCmd |
||||
|
||||
Invoke-Expression ".\SenchaCmd\SenchaCmd-${env:SENCHA_VER}-windows-no_jre.exe -q -Dall=true" |
||||
|
||||
$env:PATH = "${env:USERPROFILE}\bin\Sencha\Cmd;${env:PATH}" |
||||
|
||||
git reset --hard HEAD |
||||
|
||||
npm i npm@latest -g |
||||
|
||||
npm install |
||||
|
||||
cache: |
||||
- '%APPDATA%\npm-cache' |
||||
- '%USERPROFILE%\.electron' |
||||
- node_modules -> package-lock.json |
||||
|
||||
before_build: |
||||
- ps: >- |
||||
${env:CURRENT_BRANCH} = If (${env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}) { |
||||
${env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH} |
||||
} Else { |
||||
${env:APPVEYOR_REPO_BRANCH} |
||||
} |
||||
|
||||
build_script: |
||||
- ps: >- |
||||
node --version |
||||
|
||||
npm --version |
||||
|
||||
npm run setup:win64 |
||||
|
||||
|
||||
|
||||
test: off |
||||
artifacts: |
||||
- path: dist\*.exe |
||||
|
||||
|
||||
# after_build: |
||||
# - ps: >- |
||||
# git config --global user.email "travis@travis-ci.org" |
||||
|
||||
# git config --global user.name "Travis" |
||||
|
||||
# If (${env:CURRENT_BRANCH} -eq "testing") { |
||||
# ${env:APPVEYOR_REPO_TAG_NAME}="snapshot-testing" |
||||
# ${env:APPVEYOR_REPO_TAG}="true" |
||||
# ${env:SNAPSHOT}="true" |
||||
# git tag -f ${env:APPVEYOR_REPO_TAG_NAME} -a -m "Automatic snapshot for testing [skip ci]" |
||||
# (git push -q https://${env:TAGPERM}@github.com/TheGoddessInari/rambox --tags -f 2>&1) | Out-Null |
||||
# } ElseIf (${env:CURRENT_BRANCH} -eq "master") { |
||||
# ${env:APPVEYOR_REPO_TAG_NAME}="snapshot-master" |
||||
# ${env:APPVEYOR_REPO_TAG}="true" |
||||
# ${env:SNAPSHOT}="true" |
||||
# git tag -f ${env:APPVEYOR_REPO_TAG_NAME} -a -m "Automatic snapshot for master [skip ci]" |
||||
# (git push -q https://${env:TAGPERM}@github.com/TheGoddessInari/rambox --tags -f 2>&1) | Out-Null |
||||
# } Else { |
||||
# ${env:SNAPSHOT}="false" |
||||
# } |
||||
|
||||
# deploy: |
||||
# - provider: GitHub |
||||
# on: |
||||
# appveyor_repo_tag: true |
||||
# snapshot: false |
||||
# auth_token: |
||||
# secure: G9kcUc6R6xSYIP/mhFWZkuub5EE4b0ws9l3IQtFBz52yTsONp6GiQlFdtsnZWYjW |
||||
# draft: true |
||||
# prerelease: false |
||||
# force_update: false |
||||
# tag: $(APPVEYOR_REPO_TAG_NAME) |
||||
# release: $(APPVEYOR_REPO_TAG_NAME) |
||||
# - provider: GitHub |
||||
# on: |
||||
# appveyor_repo_tag: true |
||||
# snapshot: true |
||||
# auth_token: |
||||
# secure: G9kcUc6R6xSYIP/mhFWZkuub5EE4b0ws9l3IQtFBz52yTsONp6GiQlFdtsnZWYjW |
||||
# draft: false |
||||
# prerelease: true |
||||
# force_update: true |
||||
# tag: $(APPVEYOR_REPO_TAG_NAME) |
||||
# release: $(APPVEYOR_REPO_TAG_NAME) |
Loading…
Reference in new issue