axes:
- axis:
type: slave
- name: arch
- values: '{obj:arch}'
+ name: platform
+ values: '{obj:platforms}'
- axis:
type: user-defined
name: liburcu_version
values: '{obj:slave}'
- axis:
type: user-defined
- name: arch
- values: '{obj:arch}'
+ name: platform
+ values: '{obj:platforms}'
- axis:
type: user-defined
name: liburcu_version
name: lttng-ivc
github_user: lttng
github_name: lttng-ivc
- email_to: "ci-notification@lists.lttng.org, cc:joraj@efficios.com"
+ email_to: "ci-notification@lists.lttng.org"
version:
- staging
- master
jobs:
- 'lttng-ivc-{version}':
version: master
- arch: !!python/tuple [amd64]
+ platforms: !!python/tuple [bionic-amd64]
liburcu_version: !!python/tuple [master]
- 'lttng-ivc-{version}':
- # Send only to maintainer
- email_to: "joraj@efficios.com"
version: staging
- arch: !!python/tuple [amd64]
+ platforms: !!python/tuple [bionic-amd64]
liburcu_version: !!python/tuple [master]
- 'lttng-ivc-{version}-modules':
- # Send only to maintainer
- email_to: "joraj@efficios.com"
version: master
- arch: !!python/tuple [amd64]
+ platforms: !!python/tuple [bionic-amd64]
slave: !!python/tuple [amd64-rootnode]
liburcu_version: !!python/tuple [master]
-#!/bin/bash -xu
+#!/bin/bash
#
# Copyright (C) 2017 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+set -xu
+
PYTHON3="python3"
P3_VERSION=$($PYTHON3 -c 'import sys;v = sys.version.split()[0].split("."); print("{}.{}".format(v[0], v[1]))')