.travis.yml
author Tim Taubert <ttaubert@mozilla.com>
Mon, 10 Oct 2016 16:13:01 +0200
branchNSS_3_25_BRANCH
changeset 12695 224846c1b152e9fa141e5e26c19e6d061414edfa
parent 12143 830d52622b911a1f3410095637c948fa430b58c4
permissions -rw-r--r--
Bug 1304407 - Ignore MD5 signature algorithms in certificate requests r=franziskus Differential Revision: https://nss-dev.phacility.com/D64

sudo: required
dist: trusty

addons:
  apt:
    sources:
    # add PPAs with more up-to-date toolchains
    - ubuntu-toolchain-r-test
    - llvm-toolchain-precise-3.8
    packages:
    # install toolchains
    - gcc-5
    - g++-5
    - clang-3.8
    # install additional tools
    - clang-format-3.8

matrix:
  include:
    - os: osx
      compiler: clang-3.8
      env:
        - CC=clang-3.8
        - CCC=clang++-3.8
    - os: osx
      compiler: clang-3.8
      env:
        - CC=clang-3.8
        - CCC=clang++-3.8
        - BUILD_OPT=1
    - os: linux
      compiler: gcc
      env:
        - CC=gcc-5
        - CCC=g++-5
    - os: linux
      compiler: gcc
      env:
        - CC=gcc-5
        - CCC=g++-5
        - BUILD_OPT=1
    - os: linux
      compiler: gcc
      env:
        - CC=gcc-5
        - CCC=g++-5
        - USE_ASAN=1
    - os: linux
      env: CLANG_FORMAT=1
  allow_failures:
    - env: CLANG_FORMAT=1

env:
  global:
    - USE_64=1
    - NSS_ENABLE_TLS_1_3=1

install:
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; brew install llvm38; fi

before_script:
  - hg clone https://hg.mozilla.org/projects/nspr ../nspr

script:
  - if [ -n "$CLANG_FORMAT" ]; then automation/travis/validate-formatting.sh lib/ssl; exit $?; fi
  - make nss_build_all
  - cd tests; NSS_TESTS="ssl_gtests gtests" NSS_CYCLES=standard ./all.sh

notifications:
  irc:
    channels:
      - "irc.mozilla.org:6697/#nssbot"
    nick: travisci
    on_success: change
    on_failure: always