Skip to contentSkip to conversation

travis: initial configuration

PATCH New Petr Vorel 2 participants 2 messages Jan 11, 2017

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH v2 1/1 travis: initial configuration

Configuration: build with gcc only, install.

---
Actually I decided to use default mail notification settings (mail sent to author and committer if they have push or admin permissions, see
https://docs.travis-ci.com/user/notifications#Default-notification-settings).

The reason is that otherwise we'd get email notifications to mailing list also for forks (see https://github.com/travis-ci/travis-ci/issues/329
https://github.com/travis-ci/travis-ci/issues/1094).

---
 .travis.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 .travis.yml
.travis.yml new file +8 -0
new file mode 100644
index 000000000..60d4aa3d6
@@ -0,0 +1,8 @@
+sudo: required
+
+language: c
+
+notifications:
+    - email: true
+
+script: make autotools && ./configure --with-open-posix-testsuite --with-realtime-testsuite && make -j$(getconf _NPROCESSORS_ONLN) && make -j$(getconf _NPROCESSORS_ONLN) install
Signature · 1 line
2.11.0
#1 lore raw

PATCH v2 1/1 travis: initial configuration

Hi!
I did some tests with email notifications and figured out that anything else than having the mailing list address hardcoded in the travis config is pretty much useless since neither the commited nor the patch author gets email unless they are registered in travis.

So I will commit the V1 patch that has the mailing list address in the config to see if that is a workable solution. Hopefully that will not spam the mailing list too much.

Signature · 2 lines
Cyril Hrubis
[email protected]