Fix clang-format on macOS at version 3.9.

This commit is contained in:
Douglas Stebila 2017-07-10 10:06:44 -04:00
parent 4d28c38a8a
commit c3cdcfb26d

View File

@ -33,9 +33,9 @@ matrix:
- sh .travis/install-clang-format-linux.sh
- os: linux
compiler: gcc
env:
- CC_OQS=gcc-6
- USE_OPENSSL=1
env:
- CC_OQS=gcc-6
- USE_OPENSSL=1
addons:
apt:
sources:
@ -49,18 +49,19 @@ matrix:
compiler: clang
env: CC_OQS=clang
before_install:
- brew install clang-format
- brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/0c4314c499576b28e4c082b591228a8f940954c0/Formula/clang-format.rb
- os: osx
compiler: clang
env:
- CC_OQS=clang
- AES_NI=0
- USE_OPENSSL=1
env:
- CC_OQS=clang
- AES_NI=0
- USE_OPENSSL=1
- OPENSSL_DIR=/usr/local/opt/openssl # openssl is a keg-only package
- ENABLE_CODE_MCBITS=1
- ENABLE_CODE_MCBITS=1
- ENABLE_SIDH_IQC_REF=1
before_install:
- brew install clang-format libsodium
- brew install libsodium
- brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/0c4314c499576b28e4c082b591228a8f940954c0/Formula/clang-format.rb
script:
- ./.travis-tests.sh