<p>First proposal for better .Travis testing.</p>
<p>Now with this patch - all 27 test is running</p>
<pre><code>....
100% tests passed, 0 tests failed out of 27
Label Time Summary:
FlatNodes    =  20.97 sec (2 tests)
NoDB         =  14.57 sec (8 tests)
Total Test time (real) = 170.34 sec
...
</code></pre>
<p>I have added some examples for</p>
<ul>
<li>clang3.8, clang4.0, clang5.0, clang6.0  -  with different Postgres version (pg9.2, pg9.3, pg9.4, pg9.6)</li>
<li>gcc4.8, gcc4.9, gcc6, gcc7, gcc8   - with pg9.6</li>
</ul>
<p>Current travis testcases  :</p>
<pre><code>clang38_pg92_dbtest
clang40_pg93_dbtest
clang50_pg94_dbtest_luajit
clang50_pg94_dbtest
clang60_pg96_asan_dbtest_luajit
clang60_pg96_asan_dbtest
clang60_pg96_dbtest
gcc48_pg96_asan_NoDB
gcc49_pg96_asan_dbtest_luajit
gcc49_pg96_asan_dbtest
gcc6_pg96_dbtest_luajit
gcc7_pg96_dbtest_luajit
gcc8_pg96_dbtest_luajit_noCCXFLAGS
gcc8_pg96_dbtest_luajit
gcc8_pg96_dbtest_noCCXFLAGS
osx_clang_NoDB
</code></pre>
<p>// <code>asan</code> = -fsanitize=address"<br>
// <code>dbtest</code> = <code>cmake -VV</code>     : <strong>27 testcases</strong><br>
// <code>NoDB</code> = <code>cmake -VV -L NoDB</code>   :  <strong>8 testcases</strong></p>
<p>Testcases with error - added to the "allow_failures" category - so ready to merge this code.</p>
<p>Some issues  (  I can't resolve this problems )</p>
<ul>
<li>gcc8 warning: (related <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="329400860" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/osm2pgsql/issues/850" href="https://github.com/openstreetmap/osm2pgsql/issues/850">#850</a>)  [ see <code>gcc8_pg96_dbtest_luajit</code> ]</li>
<li>luajit: [ see <code>*_luajit*</code> testcases ]   <code>93% tests passed, 2 tests failed out of 27</code></li>
<li>leaks: (related <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="216998118" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/osm2pgsql/issues/731" href="https://github.com/openstreetmap/osm2pgsql/issues/731">#731</a>)   [  see <code>*asan_dbtest*</code> testcases ]</li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/osm2pgsql/pull/852'>https://github.com/openstreetmap/osm2pgsql/pull/852</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>add DB travis test with tablespaces, clang, gcc versions ( #699 )</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/852/files#diff-0">.travis.yml</a>
    (306)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/852.patch'>https://github.com/openstreetmap/osm2pgsql/pull/852.patch</a></li>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/852.diff'>https://github.com/openstreetmap/osm2pgsql/pull/852.diff</a></li>
</ul>

<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">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7h8iPdqQHD6p2j7fxHh2utSUh-wrks5t693ngaJpZM4UhW-E">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7qSMyT3FdQbCY8ByWEfFcTcwbi5_ks5t693ngaJpZM4UhW-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","url":"https://github.com/openstreetmap/osm2pgsql/pull/852","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":"DESCRIPTION","message":"add DB travis test with tablespaces, clang, gcc versions ( #699 ) (#852)"}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/osm2pgsql/pull/852"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "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": [

]
},
{
"title": "Commit Summary",
"facts": [
{
"name": "e328059",
"value": "add DB travis test with tablespaces, clang, gcc versions ( #699 )"
}
]
},
{
"title": "File Changes",
"facts": [
{
"name": "Modified",
"value": "[.travis.yml](https://github.com/openstreetmap/osm2pgsql/pull/852/files#diff-0) (306 changes)"
}
]
}
],
"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"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/osm2pgsql/pull/852.patch"
}
],
"@type": "OpenUri",
"name": "View patch"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/osm2pgsql/pull/852.diff"
}
],
"@type": "OpenUri",
"name": "View diff"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 344289156\n}"
}
],
"themeColor": "26292E"
}</script>