Need explicit stages and scripts.

This commit is contained in:
Rene Rivera 2018-04-25 21:59:37 -05:00
parent 8b8daffae8
commit b809fb7c8f

View File

@ -5,51 +5,63 @@ branches:
- develop - develop
- /feature\/.*/ - /feature\/.*/
language: cpp language: cpp
script: test: &test
- pushd src/engine script:
- ./build.sh - pushd src/engine
- popd - ./build.sh
- ./bootstrap.sh --with-toolset=${TOOLSET} - popd
- pushd test - ./bootstrap.sh --with-toolset=${TOOLSET}
- python test_all.py ${TOOLSET} - pushd test
- popd - python test_all.py ${TOOLSET}
- popd
stages: stages:
- name: test
- name: website update - name: website update
if: branch IN (feature/new-doc-format,develop) if: branch IN (feature/new-doc-format,develop)
job: job:
include: include:
- stage: test - <<: *test
os: linux os: linux
dist: precise dist: precise
env: TOOLSET=gcc env: TOOLSET=gcc
- os: linux - <<: *test
os: linux
dist: precise dist: precise
env: TOOLSET=clang env: TOOLSET=clang
- os: linux - <<: *test
os: linux
dist: trusty dist: trusty
env: TOOLSET=gcc env: TOOLSET=gcc
- os: linux - <<: *test
os: linux
dist: trusty dist: trusty
env: TOOLSET=clang env: TOOLSET=clang
- os: osx - <<: *test
os: osx
osx_image: xcode9.2 osx_image: xcode9.2
env: TOOLSET=clang env: TOOLSET=clang
- os: osx - <<: *test
os: osx
osx_image: xcode9.1 osx_image: xcode9.1
env: TOOLSET=clang env: TOOLSET=clang
- os: osx - <<: *test
os: osx
osx_image: xcode9 osx_image: xcode9
env: TOOLSET=clang env: TOOLSET=clang
- os: osx - <<: *test
os: osx
osx_image: xcode8.3 osx_image: xcode8.3
env: TOOLSET=clang env: TOOLSET=clang
- os: osx - <<: *test
os: osx
osx_image: xcode8 osx_image: xcode8
env: TOOLSET=clang env: TOOLSET=clang
- os: osx - <<: *test
os: osx
osx_image: xcode7.3 osx_image: xcode7.3
env: TOOLSET=clang env: TOOLSET=clang
- os: osx - <<: *test
os: osx
osx_image: xcode6.4 osx_image: xcode6.4
env: TOOLSET=clang env: TOOLSET=clang
- stage: website update - stage: website update