Reject excessively large primes in DH key generation.
[openssl.git] / .travis.yml
1 language: c
2
3 addons:
4     apt_packages:
5         - binutils-mingw-w64
6         - gcc-mingw-w64
7
8 os:
9     - linux
10
11 compiler:
12     - clang
13     - gcc
14     - i686-w64-mingw32-gcc
15     - x86_64-w64-mingw32-gcc
16
17 env:
18     - CONFIG_OPTS=""
19     - CONFIG_OPTS="shared"
20     - CONFIG_OPTS="-d --strict-warnings"
21
22 matrix:
23     exclude:
24         - os: osx
25           compiler: i686-w64-mingw32-gcc
26         - os: osx
27           compiler: x86_64-w64-mingw32-gcc
28         - compiler: i686-w64-mingw32-gcc
29           env: CONFIG_OPTS="-d --strict-warnings"
30         - compiler: x86_64-w64-mingw32-gcc
31           env: CONFIG_OPTS="-d --strict-warnings"
32
33 before_script:
34     - sh .travis-create-release.sh $TRAVIS_OS_NAME
35     - tar -xvzf _srcdist.tar.gz
36     - cd _srcdist
37     - if [ "$CC" == i686-w64-mingw32-gcc ]; then
38           export CROSS_COMPILE=${CC%%gcc}; unset CC;
39           ./Configure mingw $CONFIG_OPTS;
40       elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then
41           export CROSS_COMPILE=${CC%%gcc}; unset CC;
42           ./Configure mingw64 $CONFIG_OPTS;
43       else
44           if [ "$CC" == gcc ]; then
45               export CONFIG_OPTS="$CONFIG_OPTS -Wno-error=shadow";
46           fi;
47           ./config $CONFIG_OPTS;
48       fi
49     - cd ..
50
51 script:
52     - cd _srcdist
53     - if make ; then
54          echo -e '+\057 MAKE OK';
55      else
56          echo -e '+\057 MAKE FAILED'; false;
57       fi;
58     - if [ -z "$CROSS_COMPILE" ]; then
59           if make test; then
60               echo -e '+\057\057 MAKE TEST OK';
61           else
62               echo -e '+\057\057 MAKE TEST FAILED'; false;
63           fi;
64       fi
65     - cd ..
66
67 notifications:
68     email:
69         secure: "xeGNgWO7aoaDgRvcZubposqMsj36aU8c6F0oHfw+rUqltCQ14IgYCUwzocmR2O+Pa7B3Cx5VjMfBFHbQaajZsfod8vu7g+aGq/zkjwbhsr/SR4dljJjFJXLGZjIalm9KgP6KInmVDuINfCqP+MHIY5lZkNI7DMcyHDhVc5nSKvCXV7xTDNgmstvh8rB/z51WfHDqGqfBtiuK5FDNxmvYK8OFJ5W94Lu9LDlizcxwK3GAj7arOui7Z5w8bQ6p4seUE3IvJL1Zbj0pZHxvNb6Zeb2Pn8QF1qLlN8YmBktD4aiw0ce4wYRiL87uLgcOxZY7SVXtv2XYFIYWapU/FKjCqa6vK93V/H9eZWEIYNMKnN3wXm2beqVdnKek3OeGJ8v0y7MbSfuLfRtBqbTSNYnpU1Zuo4MQAvHvEPuwCAYkYQajOSRplMH5sULFKptuVqNtOMfjL8jHb8AEoL1acYIk43ydxeYrzzas4fqgCDJ52573/u0RNdF1lkQBLkuM365OB8VRqtpnoxcdEIY/qBc/8TzZ24fxyrs5qdHFcxGSgpN2EP6cJMqpvkemnCNSdhxUqfzm22N7a3O8+4LFSBGOnHto/PwdsvF/01yGYL0LoZTnoO1i6x7AMJPBh+eyDU0ZjGhj/msjmqeb9C8vRqQ+1WjHrIS1iqCD0Czib8tUPD4="