Skip to content

Commit ab89561

Browse files
committed
.travis.yml: trigger jobs for the master branch only
Since my github account is used as upstream, I always need to create a branch before I submit a pull request. It does not make any sense to trigger the jobs twice for the same git tree.
1 parent a399aa1 commit ab89561

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
language: cpp
22
compiler: gcc
33

4+
if: branch = master
5+
46
matrix:
57
include:
68
- name: "Ubuntu LTS 2014 (trusty)"
@@ -19,7 +21,6 @@ matrix:
1921
dist: focal
2022
env:
2123
- COPR_BUILD=yes
22-
if: branch = master
2324

2425
install:
2526
- sudo apt-get install cmake help2man libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev

0 commit comments

Comments
 (0)