How to detect that my tests are running under APPVEYOR CI
Is there an environment variable running on the test agent I can check to tell me if I am running in the CI build machine. Some of my tests pop up interactive stuff. I would like to disable them easily by turning those bits of when running under CI.
Or do the environment variables set in the appveyor.yml appear also in the test environment?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 06 May, 2014 04:24 PM
Yes, it's either
APPVEYOR
orCI
variables (http://www.appveyor.com/docs/environment-variables) or like you said you can set any variable inappveyor.yml
:Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:43 AM.