message: Run coverage, tsan, asan and valgrind only for master or develop.
diff: @@ -6,9 +6,9 @@ stages:
  - test
  - deploy
  - coverage
  - - valgrind
  - threadsanitizer
  - addresssanitizer
  + - valgrind
  - benchmark-build
  - benchmark-cuda
  - benchmark-omp
  @@ -378,20 +378,9 @@ coverage:
  script:
  - ctest -S cmake/CTestScript.cmake -DCTEST_BUILD_CONFIGURATION=COVERAGE
  dependencies: []
  -# only:
  -# - master
  -# - develop
  -
  -valgrind:
  - stage: valgrind
  - image: localhost:5000/gko-cuda100-gnu7-llvm60
  - before_script: *default_before_script
  - script:
  - - ctest -S cmake/CTestScript.cmake -DCTEST_MEMORYCHECK_TYPE=Valgrind
  - dependencies: []
  -# only:
  -# - master
  -# - develop
  + only:
  + - master
  + - develop
  threadsanitizer:
  stage: threadsanitizer
  @@ -400,9 +389,9 @@ threadsanitizer:
  script:
  - ctest -S cmake/CTestScript.cmake -DCTEST_BUILD_CONFIGURATION=TSAN -DCTEST_MEMORYCHECK_TYPE=ThreadSanitizer
  dependencies: []
  -# only:
  -# - master
  -# - develop
  + only:
  + - master
  + - develop
  addresssanitizer:
  stage: addresssanitizer
  @@ -411,9 +400,20 @@ addresssanitizer:
  script:
  - ctest -S cmake/CTestScript.cmake -DCTEST_BUILD_CONFIGURATION=ASAN -DCTEST_MEMORYCHECK_TYPE=AddressSanitizer
  dependencies: []
  -# only:
  -# - master
  -# - develop
  + only:
  + - master
  + - develop
  +
  +valgrind:
  + stage: valgrind
  + image: localhost:5000/gko-cuda100-gnu7-llvm60
  + before_script: *default_before_script
  + script:
  + - ctest -S cmake/CTestScript.cmake -DCTEST_MEMORYCHECK_TYPE=Valgrind
  + dependencies: []
  + only:
  + - master
  + - develop
  # Benchmark build
  