2
0
mirror of https://github.com/boostorg/units.git synced 2026-01-19 04:42:15 +00:00

Enable ci scripts

This commit is contained in:
Jürgen Hunold
2016-11-11 08:04:40 +01:00
parent 4840fc8666
commit 2acfcd0a23
2 changed files with 127 additions and 0 deletions

84
.travis.yml Normal file
View File

@@ -0,0 +1,84 @@
# Use, modification, and distribution are
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Copyright Rene Rivera 2015-2016.
branches:
only:
- master
- develop
dist: trusty
language: cpp
notifications:
email:
recipients:
- jhunold@gmx.eu
sudo: required
env:
matrix:
- TRAVIS_EMPTY_JOB_WORKAROUND=true
matrix:
exclude:
- env: TRAVIS_EMPTY_JOB_WORKAROUND=true
include:
- env: TOOLSET=clang-3.4
os: linux
dist: precise
- env: TOOLSET=clang-3.5
os: linux
dist: precise
- env: TOOLSET=clang-3.6
os: linux
dist: precise
- env: TOOLSET=gcc-4.7
os: linux
dist: precise
- env: TOOLSET=gcc-4.8
os: linux
dist: precise
- env: TOOLSET=gcc-4.9
os: linux
dist: precise
- env: TOOLSET=gcc-5.1
os: linux
dist: precise
- env: TOOLSET=xcode-6.1
os: osx
- env: TOOLSET=xcode-6.2
os: osx
osx_image: beta-xcode6.2
- env: TOOLSET=xcode-6.3
os: osx
osx_image: beta-xcode6.3
- env: TOOLSET=xcode-6.4
os: osx
osx_image: xcode6.4
- env: TOOLSET=xcode-7.0
os: osx
osx_image: xcode7
- env: TOOLSET=xcode-7.1
os: osx
osx_image: xcode7.1
- env: TOOLSET=xcode-7.2
os: osx
osx_image: xcode7.2
before_install:
# Fetch the scripts to do the actual building/testing.
- |
wget "https://raw.githubusercontent.com/boostorg/regression/develop/ci/src/ci_boost_common.py" -P ..
wget "https://raw.githubusercontent.com/boostorg/regression/develop/ci/src/ci_boost_library_test.py" -P ..
install: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" install
before_script: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" before_script
script: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" script
after_success: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" after_success
after_failure: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" after_failure
after_script: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" after_script

43
appveyor.yml Normal file
View File

@@ -0,0 +1,43 @@
notifications:
- provider: Email
to:
- jhunold@gmx.eu
on_build_status_changed: true
environment:
matrix:
- TOOLSET: vs-2008
platform: 32
- TOOLSET: vs-2010
platform: 32
- TOOLSET: vs-2012
platform: 32
- TOOLSET: vs-2013
platform: 32
- TOOLSET: vs-2013
platform: 64
- TOOLSET: vs-2015
platform: 32
- TOOLSET: vs-2015
platform: 64
configuration:
- debug
- release
init:
- cd %APPVEYOR_BUILD_FOLDER%/..
- appveyor DownloadFile "https://raw.githubusercontent.com/boostorg/regression/develop/ci/src/ci_boost_common.py"
- appveyor DownloadFile "https://raw.githubusercontent.com/boostorg/regression/develop/ci/src/ci_boost_library_test.py"
- dir
- cd %APPVEYOR_BUILD_FOLDER%
install: python ../ci_boost_library_test.py install
before_build: python ../ci_boost_library_test.py before_build
build_script: python ../ci_boost_library_test.py build_script
after_build: python ../ci_boost_library_test.py after_build
before_test: python ../ci_boost_library_test.py before_test
test_script: python ../ci_boost_library_test.py test_script
after_test: python ../ci_boost_library_test.py after_test
on_success: python ../ci_boost_library_test.py on_success
on_failure: python ../ci_boost_library_test.py on_failure
on_finish: python ../ci_boost_library_test.py on_finish