CI/Travis: restore ASAN build to first stage #10274

* ci: Travis: move ASAN build to first stage again
  Ref: https://github.com/neovim/neovim/pull/10238#issuecomment-503556762
* rename stages
* move gcov to second stage, restore order
This commit is contained in:
Daniel Hahler
2019-06-20 01:51:42 +02:00
committed by Justin M. Keyes
parent 954df0ea03
commit e28a7a366d

View File

@@ -49,10 +49,14 @@ env:
jobs: jobs:
include: include:
- stage: baseline builds - stage: baseline
os: linux os: linux
compiler: gcc compiler: clang-4.0
env: GCOV=gcov CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON" # Use Lua so that ASAN can test our embedded Lua support. 8fec4d53d0f6
env: >
CLANG_SANITIZER=ASAN_UBSAN
CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON"
ASAN_SYMBOLIZE=asan_symbolize-4.0
- os: linux - os: linux
compiler: gcc compiler: gcc
env: > env: >
@@ -68,7 +72,7 @@ jobs:
os: linux os: linux
env: CI_TARGET=lint env: CI_TARGET=lint
- stage: Other builds - stage: second stage
os: osx os: osx
compiler: clang compiler: clang
osx_image: xcode10.1 # macOS 10.13 osx_image: xcode10.1 # macOS 10.13
@@ -77,12 +81,8 @@ jobs:
osx_image: xcode10.1 # macOS 10.13 osx_image: xcode10.1 # macOS 10.13
- os: linux - os: linux
compiler: clang-4.0 compiler: gcc
# Use Lua so that ASAN can test our embedded Lua support. 8fec4d53d0f6 env: GCOV=gcov CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON"
env: >
CLANG_SANITIZER=ASAN_UBSAN
CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON"
ASAN_SYMBOLIZE=asan_symbolize-4.0
- os: linux - os: linux
compiler: clang compiler: clang
env: CLANG_SANITIZER=TSAN env: CLANG_SANITIZER=TSAN