[geany/geany] e22f0c: travis: Add a Travis CI settings file

Colomban Wendling git-noreply at xxxxx
Thu Jul 2 19:45:16 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Thu, 02 Jul 2015 19:45:16 UTC
Commit:      e22f0ca05417d026b434518ce60e344a62514738
             https://github.com/geany/geany/commit/e22f0ca05417d026b434518ce60e344a62514738

Log Message:
-----------
travis: Add a Travis CI settings file


Modified Paths:
--------------
    .travis.yml

Modified: .travis.yml
24 lines changed, 24 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,24 @@
+# we use both C and C++, so advertize C++
+language: cpp
+compiler:
+  - gcc
+env:
+  - GTK3=no
+  - GTK3=yes
+before_install:
+  - sudo apt-get update -qq
+install:
+  - sudo apt-get install -y libgtk2.0-dev libgtk-3-dev intltool libtool
+  - sudo apt-get install -y python-docutils rst2pdf
+  # try not to install doxygen-latex because we don't need it and it's huge
+  - sudo apt-get install -y --no-install-recommends doxygen
+before_script:
+  - export CFLAGS="-g -O2 -Werror=pointer-arith -Werror=aggregate-return -Werror=implicit-function-declaration"
+script:
+  - >
+    NOCONFIGURE=1 ./autogen.sh          &&
+    mkdir _build                        &&
+    cd _build                           &&
+    ../configure --enable-gtk3=$GTK3    &&
+    make -j2                            &&
+    make -j2 check



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list