Switch to a different version of Xcode and set travis-tests to fail on error.

This commit is contained in:
Douglas Stebila 2017-07-20 10:39:04 -04:00
parent 1385ddc8ff
commit 0022252601
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -e
export CC=$CC_OQS
autoreconf -i
@ -29,10 +31,8 @@ if [[ ${ENABLE_SIDH_IQC_REF} == 1 ]];then
fi
fi
./configure --enable-silent-rules ${enable_disable_str}
./configure --enable-silent-rules ${enable_disable_str}
make clean
make
make test
for f in $(ls .travis/*-check.sh); do bash $f; done

View File

@ -46,11 +46,13 @@ matrix:
before_install:
- sh .travis/install-clang-format-linux.sh
- os: osx
osx_image: xcode8.3 # https://docs.travis-ci.com/user/reference/osx/
compiler: clang
env: CC_OQS=clang
before_install:
- brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/0c4314c499576b28e4c082b591228a8f940954c0/Formula/clang-format.rb
- os: osx
osx_image: xcode8.3 # https://docs.travis-ci.com/user/reference/osx/
compiler: clang
env:
- CC_OQS=clang