mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-29 20:17:32 +02:00
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
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)
|
||||
;
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user