message: .travis restructuring
diff: @@ -53,13 +53,9 @@ env:
  - DOCKER_REPO_PATH=ispc/ubuntu_16.04
  - LLVM_HOME=/usr/local/src/llvm
  - ISPC_HOME=$TRAVIS_BUILD_DIR
  - matrix:
  - - LLVM_VERSION=10.0 OS=Ubuntu16.04 DOCKER_TAG=llvm100
  - - LLVM_VERSION=9.0 OS=Ubuntu16.04 DOCKER_TAG=llvm90
  - - LLVM_VERSION=8.0 OS=Ubuntu16.04 DOCKER_TAG=llvm80
  - # WASM enabled build
  - - LLVM_VERSION=10.0 OS=Ubuntu16.04 DOCKER_TAG=llvm100 WASM_FLAGS="-DWASM_ENABLED=ON"
  +my_tag: &my_tag
  + stage: test
  before_install:
  - sudo apt-get update
  - sudo apt-get install -y libc6-dev-i386 g++-multilib lib32stdc++6
  @@ -73,7 +69,6 @@ before_install:
  - export CONTAINER=`docker ps --all |head -2 |tail -1 |awk '//{print $1}'`
  - sudo docker cp $CONTAINER:$LLVM_HOME /usr/local/src
  - export PATH=$LLVM_HOME/bin-$LLVM_VERSION/bin:$PATH
  -
  script:
  - mkdir build_$LLVM_VERSION && cd build_$LLVM_VERSION
  - cmake -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR -DISPC_INCLUDE_BENCHMARKS=ON $WASM_FLAGS ../
  @@ -108,3 +103,16 @@ jobs:
  before_install:
  script:
  - ./check_format.sh clang-format-10
  + - <<: *my_tag
  + env:
  + - LLVM_VERSION=10.0 OS=Ubuntu16.04 DOCKER_TAG=llvm100
  + - <<: *my_tag
  + env:
  + - LLVM_VERSION=9.0 OS=Ubuntu16.04 DOCKER_TAG=llvm90
  + - <<: *my_tag
  + env:
  + - LLVM_VERSION=8.0 OS=Ubuntu16.04 DOCKER_TAG=llvm80
  + # WASM enabled build
  + - <<: *my_tag
  + env:
  + - LLVM_VERSION=10.0 OS=Ubuntu16.04 DOCKER_TAG=llvm100 WASM_FLAGS="-DWASM_ENABLED=ON"
  