#************************************************************************** #* * #* OCaml * #* * #* Anil Madhavapeddy, OCaml Labs * #* * #* Copyright 2014 Institut National de Recherche en Informatique et * #* en Automatique. * #* * #* All rights reserved. This file is distributed under the terms of * #* the GNU Lesser General Public License version 2.1, with the * #* special exception on linking described in the file LICENSE. * #* * #************************************************************************** PREFIX=~/local BuildAndTest () { case $XARCH in i386) echo< /dev/null \ && exit 1 || echo pass } CheckTestsuiteModified () { echo< /dev/null \ && exit 1 || echo pass } case $CI_KIND in build) BuildAndTest;; changes) CheckChangesModified;; tests) CheckTestsuiteModified;; *) echo unknown CI kind exit 1 ;; esac