Skip to content

Commit 23bac01

Browse files
authored
Travis: Limit number of jobs based on branch name (#142)
1 parent e87efb7 commit 23bac01

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: cpp
22
matrix:
33
include:
44
- os: linux
5+
if: branch = dev
56
dist: xenial
67
env: TOOL=clang-format
78
addons:
@@ -11,9 +12,6 @@ matrix:
1112
packages:
1213
- clang-format-7
1314
compiler: clang
14-
branches:
15-
only:
16-
- dev
1715
- os: osx
1816
osx_image: xcode10.2
1917
env: TOOL=test
@@ -33,6 +31,7 @@ matrix:
3331
- libboost-test1.58-dev
3432
- libboost-program-options1.58-dev
3533
- os: linux
34+
if: branch = master
3635
dist: xenial
3736
env: TOOL=coverage
3837
addons:
@@ -53,9 +52,6 @@ matrix:
5352
- libboost-filesystem1.58-dev
5453
- libboost-test1.58-dev
5554
- libboost-program-options1.58-dev
56-
branches:
57-
only:
58-
- dev
5955
deploy:
6056
provider: pages
6157
skip_cleanup: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Monitoring
22
[![travis-ci](https://travis-ci.com/AliceO2Group/Monitoring.svg?branch=dev)](https://travis-ci.com/AliceO2Group/Monitoring)
33
[![aliBuild](https://img.shields.io/badge/aliBuild-dashboard-lightgrey.svg)](https://alisw.cern.ch/dashboard/d/000000001/main-dashboard?orgId=1&var-storagename=All&var-reponame=All&var-checkname=build%2FMonitoring%2Fo2-dataflow%2F0&var-upthreshold=30m&var-minuptime=30)
4-
[![codecov](https://codecov.io/gh/AliceO2Group/Monitoring/branch/dev/graph/badge.svg)](https://codecov.io/gh/AliceO2Group/Monitoring/branch/dev)
4+
[![codecov](https://codecov.io/gh/AliceO2Group/Monitoring/branch/master/graph/badge.svg)](https://codecov.io/gh/AliceO2Group/Monitoring)
55
[![JIRA](https://img.shields.io/badge/JIRA-issues-blue.svg)](https://alice.its.cern.ch/jira/projects/OMON)
66
[![doxygen](https://img.shields.io/badge/doxygen-documentation-blue.svg)](https://aliceo2group.github.io/Monitoring/)
77

0 commit comments

Comments
 (0)