#**************************************************************************
#*                                                                        *
#*                                 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.          *
#*                                                                        *
#**************************************************************************

sudo: false
language: c
git:
  submodules: false
script: bash -e tools/ci/travis/travis-ci.sh
matrix:
  include:
  - env: CI_KIND=build XARCH=i386
    addons:
      apt:
        packages:
        - gcc:i386
        - cpp:i386
        - binutils:i386
        - binutils-dev:i386
        - libx11-dev:i386
        - libc6-dev:i386
  - env: CI_KIND=build XARCH=x64
  - env: CI_KIND=build XARCH=x64 CONFIG_ARG=--enable-flambda OCAMLRUNPARAM=b,v=0
  - env: CI_KIND=changes
  - env: CI_KIND=manual
  - env: CI_KIND=check-typo
  - env: CI_KIND=tests
  allow_failures:
  - env: CI_KIND=tests
addons:
  apt:
    packages:
    - binutils-dev

notifications:
  email:
    - ocaml-ci-notifications@inria.fr
