[Forensics-changes] [yara] 49/192: travis: Build on Mac OS X (#537)

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.6.0
in repository yara.

commit 559be564e79817c8af3ac89bada4dbb05034c970
Author: Hilko Bengen <hillu at users.noreply.github.com>
Date:   Thu Oct 13 22:48:54 2016 +0200

    travis: Build on Mac OS X (#537)
---
 .travis.yml | 62 +++++++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 40 insertions(+), 22 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index ac64c22..9fbcf67 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,18 +1,43 @@
-dist: trusty
-sudo: required
-
-before_install:
-  # The certificate for scan.coverity.com is too new and is not recognized by
-  # wget. This command adds the certificate to /etc/ssl/certs/ca-certificates.crt
-  # See: https://github.com/travis-ci/travis-ci/issues/6142
-  - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt
+language: c
 
-install:
-  - sudo dpkg --add-architecture i386
-  # Not all repositories contain i386 binary packages
-  - sudo rm -rf /etc/apt/sources.list.d/
-  - sudo apt-get update
-  - sudo apt-get install -y gcc-multilib gcc-mingw-w64 autoconf automake libtool libjansson-dev libmagic-dev libssl-dev
+matrix:
+  include:
+    - os: linux
+      dist: trusty
+      sudo: required
+      env: CONFIGFLAGS="CFLAGS=-m64 --enable-cuckoo --enable-magic"
+      # The certificate for scan.coverity.com is too new and is not recognized by
+      # wget. This command adds the certificate to /etc/ssl/certs/ca-certificates.crt
+      # See: https://github.com/travis-ci/travis-ci/issues/6142
+      before_install: echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt
+      install: |
+        sudo apt-get update
+        sudo apt-get install -y autoconf automake libtool libjansson-dev libmagic-dev libssl-dev
+    - os: linux
+      dist: trusty
+      sudo: required
+      env: CONFIGFLAGS="CFLAGS=-m32 --enable-cuckoo --enable-magic"
+      install: |
+        sudo dpkg --add-architecture i386 && sudo rm -rf /etc/apt/sources.list.d/
+        sudo apt-get update
+        sudo apt-get install -y gcc-multilib autoconf automake libtool libjansson-dev:i386 libmagic-dev:i386 libssl-dev:i386
+    - os: linux
+      dist: trusty
+      sudo: required
+      env: CONFIGFLAGS=--host=x86_64-w64-mingw32
+      install: |
+        sudo apt-get update
+        sudo apt-get install -y gcc-mingw-w64 autoconf automake libtool
+    - os: linux
+      dist: trusty
+      sudo: required
+      env: CONFIGFLAGS=--host=i686-w64-mingw32
+      install: |
+        sudo apt-get update
+        sudo apt-get install -y gcc-mingw-w64 autoconf automake libtool
+    - os: osx
+      # Xcode 7.0.1 GM on OS X 10.10. This still includes OpenSSL.
+      osx_image: xcode7
 
 before_script: ./bootstrap.sh
 
@@ -22,24 +47,17 @@ script: |
   ./configure $CONFIGFLAGS
   make clean && make
   case "$CONFIGFLAGS" in
-    *--host=*) ;;
+    *--host=*mingw*) ;;
     *) make check ;;
   esac
 
 after_failure: if [ -e test-suite.log ]; then cat test-suite.log; fi
 
-language: c
-
 env:
   global:
     # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
     #   via the "travis encrypt" command using the project repo's public key
     - secure: "JWobvJ94pWt/xVciQURkNFS3I+gyu2IyZPKYEs6HDlHrpHs4BoVDZeRjmgx0s6aDeQjKJHowGDu17IlbnCkKzXrZErEJkA+Oc/d0SwgXKiUU9WYiaGBJjJUoYZw66QIEuGGKkF4uQ7EIcW/vN7wzrCDyAiPeOPUjVP4Tc2XRzmkSfakfmf9cE5nqT84DPUYiRegM7iepMrZi9kEaAoboBuETT+6eUKdERRadM0QNjZmCYMEMjtFj3lE51Ey2stGqZdKJvJN0FUmxGoaXCFFAsNmZPnFeDkqTf0a+MzxG2m4nnIXyNC/nT5XLItKHog4KROHb4tUpCZJ4iJhcw3loWMCtkZqB2fq2PaOkKk2zxPr3HLCn7ltmOzReBEDjEg68UqWydRW5534JGosbcA9IfshS1VqnZLgGwQHieXNeqhJUumt1DpON7AQEiEzbzAk0y2VcPlDPuCt9QS1k+zPMZLzbwgvs1 [...]
-  matrix:
-    - CONFIGFLAGS="CFLAGS=-m64 --enable-cuckoo --enable-magic"
-    - CONFIGFLAGS=CFLAGS=-m32
-    - CONFIGFLAGS=--host=x86_64-w64-mingw32
-    - CONFIGFLAGS=--host=i686-w64-mingw32
 
 addons:
   coverity_scan:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list