Temporarily disable tests to speed up builds for artifact testing

This commit is contained in:
David Wilson
2018-07-26 12:13:14 -07:00
parent 3b4fe05155
commit 18f4e73488
3 changed files with 21 additions and 21 deletions

View File

@@ -27,15 +27,15 @@ phases:
- script: script/lint
displayName: Run linter
- script: |
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
export DISPLAY=':99.0'
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
script/test
env:
CI: true
CI_PROVIDER: VSTS
displayName: Run tests
# - script: |
# /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
# export DISPLAY=':99.0'
# Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
# script/test
# env:
# CI: true
# CI_PROVIDER: VSTS
# displayName: Run tests
- task: PublishBuildArtifacts@1
inputs:

View File

@@ -26,13 +26,13 @@ phases:
- script: script/lint
displayName: Run linter
- script: |
osascript -e 'tell application "System Events" to keystroke "x"' # clear screen saver
caffeinate -s script/test # Run with caffeinate to prevent screen saver
env:
CI: true
CI_PROVIDER: VSTS
displayName: Run tests
# - script: |
# osascript -e 'tell application "System Events" to keystroke "x"' # clear screen saver
# caffeinate -s script/test # Run with caffeinate to prevent screen saver
# env:
# CI: true
# CI_PROVIDER: VSTS
# displayName: Run tests
- task: PublishBuildArtifacts@1
inputs:

View File

@@ -33,11 +33,11 @@ phases:
- script: script\lint.cmd
displayName: Run linter
- script: script\test.cmd
env:
CI: true
CI_PROVIDER: VSTS
displayName: Run tests
# - script: script\test.cmd
# env:
# CI: true
# CI_PROVIDER: VSTS
# displayName: Run tests
- task: CopyFiles@2
inputs: