forked from boostorg/fusion
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:
@ -201,4 +201,4 @@ install:
|
|||||||
- ./b2 headers
|
- ./b2 headers
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./b2 -j`(nproc || sysctl -n hw.ncpu) 2> /dev/null` libs/fusion/test toolset=$TOOLSET cxxstd=$CXXSTD define=RUNNING_ON_TRAVIS=1
|
- ./b2 -j`(nproc || sysctl -n hw.ncpu) 2> /dev/null` libs/fusion/test toolset=$TOOLSET cxxstd=$CXXSTD
|
||||||
|
@ -71,4 +71,4 @@ install:
|
|||||||
build: off
|
build: off
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- b2 -j%NUMBER_OF_PROCESSORS% libs/fusion/test toolset=%TOOLSET% define=RUNNING_ON_APPVEYOR=1
|
- b2 -j%NUMBER_OF_PROCESSORS% libs/fusion/test toolset=%TOOLSET%
|
||||||
|
@ -9,10 +9,19 @@
|
|||||||
#==============================================================================
|
#==============================================================================
|
||||||
# bring in rules for testing
|
# bring in rules for testing
|
||||||
import testing ;
|
import testing ;
|
||||||
|
import os ;
|
||||||
import ../../config/checks/config : requires ;
|
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
|
project
|
||||||
: requirements
|
: requirements
|
||||||
|
$(CI_DEFINES)
|
||||||
;
|
;
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user