<p>thank you for the feedbacks,</p>
<p>As I see - Travis - has a "Conditional Builds" beta feature ( <code>if: ...</code>)<br>
<a href="https://docs.travis-ci.com/user/conditional-builds-stages-jobs/" rel="nofollow">https://docs.travis-ci.com/user/conditional-builds-stages-jobs/</a><br>
so We can add some extra condition, like:<br>
<code>if: type = pull_request OR (type = push AND branch = master)</code><br>
<code>if: (type = push AND branch = master)</code></p>
<p>My example with 3 groups:</p>
<pre><code>#developer friendly - max5 test - latest clang,gcc + (osx)
# -----------------------
clang60_pg96_dbtest
clang60_pg96_asan_dbtest_luajit
gcc8_pg96_dbtest
gcc8_pg96_asan_dbtest_luajit
osx_clang_NoDB
# test for old dev tools
if: type = pull_request OR (type = push AND branch = master)
# ------------------------
clang38_pg92_asan_dbtest
clang38_pg92_asan_dbtest_luajit
gcc48_pg93_asan_dbtest
gcc48_pg93_asan_dbtest_luajit
# other tests
if: (type = push AND branch = master)
# --------------------------
clang50_pg94_dbtest_luajit
clang50_pg94_dbtest
gcc6_pg95_asan_dbtest
gcc6_pg95_asan_dbtest_luajit
gcc7_pg95_asan_dbtest
gcc7_pg95_asan_dbtest_luajit
</code></pre>
<p>but I am open any other suggestion.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/852#issuecomment-396087538">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7kSVlodNTnYHoD8ewYzI86qetrM-ks5t7Z-xgaJpZM4UhW-E">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7k3Rnk5tl-O8oDZJ9NSXsO2qgovJks5t7Z-xgaJpZM4UhW-E.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/openstreetmap/osm2pgsql/pull/852#issuecomment-396087538","url":"https://github.com/openstreetmap/osm2pgsql/pull/852#issuecomment-396087538","name":"View Pull Request"},"description":"View this Pull Request on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/osm2pgsql","title":"openstreetmap/osm2pgsql","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ImreSamu in #852: thank you for the feedbacks,\r\n\r\nAs I see - Travis - has a \"Conditional Builds\" beta feature ( `if: ...`)\r\nhttps://docs.travis-ci.com/user/conditional-builds-stages-jobs/\r\nso We can add some extra condition, like:\r\n`if: type = pull_request OR (type = push AND branch = master)`\r\n`if: (type = push AND branch = master)`\r\n\r\n\r\nMy example with 3 groups:\r\n\r\n```\r\n#developer friendly - max5 test - latest clang,gcc + (osx)\r\n# -----------------------\r\nclang60_pg96_dbtest\r\nclang60_pg96_asan_dbtest_luajit\r\ngcc8_pg96_dbtest\r\ngcc8_pg96_asan_dbtest_luajit\r\nosx_clang_NoDB\r\n\r\n\r\n# test for old dev tools\r\nif: type = pull_request OR (type = push AND branch = master)\r\n# ------------------------\r\nclang38_pg92_asan_dbtest\r\nclang38_pg92_asan_dbtest_luajit\r\ngcc48_pg93_asan_dbtest\r\ngcc48_pg93_asan_dbtest_luajit\r\n\r\n\r\n# other tests\r\nif: (type = push AND branch = master)\r\n# --------------------------\r\nclang50_pg94_dbtest_luajit\r\nclang50_pg94_dbtest\r\ngcc6_pg95_asan_dbtest\r\ngcc6_pg95_asan_dbtest_luajit\r\ngcc7_pg95_asan_dbtest\r\ngcc7_pg95_asan_dbtest_luajit\r\n```\r\n\r\nbut I am open any other suggestion.\r\n"}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/osm2pgsql/pull/852#issuecomment-396087538"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [openstreetmap/osm2pgsql] add DB travis test with tablespaces, clang, gcc versions ( #699 ) (#852)",
"sections": [
{
"text": "",
"activityTitle": "**ImreSamu**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@ImreSamu",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/osm2pgsql\",\n\"issueId\": 852,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close pull request",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"PullRequestClose\",\n\"repositoryFullName\": \"openstreetmap/osm2pgsql\",\n\"pullRequestId\": 852\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/osm2pgsql/pull/852#issuecomment-396087538"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 344289156\n}"
}
],
"themeColor": "26292E"
}</script>