Mark as CI in Jamfile not command line

super-project also runs regression test, but they doesn't define that.
This commit is contained in:
Kohei Takahashi
2018-01-29 10:15:39 +09:00
parent b42314fb02
commit d8e6f406ab
3 changed files with 11 additions and 2 deletions

View File

@ -9,10 +9,19 @@
#==============================================================================
# bring in rules for testing
import testing ;
import os ;
import ../../config/checks/config : requires ;
if [ os.environ CI ]
{
CI_DEFINES = <define>CI_SKIP_KNOWN_FAILURE=1 ;
CI_DEFINES += <define>RUNNING_ON_TRAVIS=1 ; # for backward compatibility
CI_DEFINES += <define>RUNNING_ON_APPVEYOR=1 ; # for backward compatibility
}
project
: requirements
$(CI_DEFINES)
;
{