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