Mercurial > dropbear
comparison libtomcrypt/.travis.yml @ 1471:6dba84798cd5
Update to libtomcrypt 1.18.1, merged with Dropbear changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 09 Feb 2018 21:44:05 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1470:8bba51a55704 | 1471:6dba84798cd5 |
---|---|
1 dist: trusty | |
2 sudo: required | |
3 | |
4 language: c | |
5 | |
6 addons: | |
7 apt: | |
8 sources: | |
9 - ubuntu-toolchain-r-test | |
10 - llvm-toolchain-precise-3.8 | |
11 packages: | |
12 - clang-3.8 | |
13 | |
14 install: | |
15 - sudo apt-get update -qq | |
16 - sudo apt-get install libtommath-dev | |
17 | |
18 before_script: | |
19 - gem install coveralls-lcov | |
20 - curl http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.11.orig.tar.gz | tar xz | |
21 - export PATH=$PATH:`pwd`/lcov-1.11/bin | |
22 - curl -s https://packagecloud.io/install/repositories/libtom/packages/script.deb.sh | sudo bash | |
23 - sudo apt-get install libtfm-dev=0.13-5 | |
24 | |
25 matrix: | |
26 fast_finish: true | |
27 branches: | |
28 only: | |
29 - master | |
30 - develop | |
31 - /^release\/.*$/ | |
32 | |
33 compiler: | |
34 - gcc | |
35 - clang | |
36 script: | |
37 - bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile V=1" "-DUSE_LTM -DLTM_DESC" "-ltommath" | |
38 - bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile.shared V=1" "-DUSE_TFM -DTFM_DESC" "-ltfm" | |
39 env: | |
40 - | | |
41 BUILDSCRIPT="check_source.sh" | |
42 BUILDNAME="CHECK_SOURCES" | |
43 BUILDOPTIONS=" " | |
44 - | | |
45 BUILDSCRIPT="scan_build.sh" | |
46 BUILDNAME="SCAN_BUILD" | |
47 BUILDOPTIONS=" " | |
48 - | | |
49 BUILDSCRIPT="coverage.sh" | |
50 BUILDNAME="COVERAGE" | |
51 BUILDOPTIONS=" " | |
52 - | | |
53 BUILDSCRIPT="run.sh" | |
54 BUILDNAME="STOCK" | |
55 BUILDOPTIONS=" " | |
56 - | | |
57 BUILDSCRIPT="run.sh" | |
58 BUILDNAME="EASY" | |
59 BUILDOPTIONS="-DLTC_EASY" | |
60 - | | |
61 BUILDSCRIPT="run.sh" | |
62 BUILDNAME="SMALL" | |
63 BUILDOPTIONS="-DLTC_SMALL_CODE" | |
64 - | | |
65 BUILDSCRIPT="run.sh" | |
66 BUILDNAME="NOTABLES" | |
67 BUILDOPTIONS="-DLTC_NO_TABLES" | |
68 - | | |
69 BUILDSCRIPT="run.sh" | |
70 BUILDNAME="SMALL+NOTABLES" | |
71 BUILDOPTIONS="-DLTC_SMALL_CODE -DLTC_NO_TABLES" | |
72 - | | |
73 BUILDSCRIPT="run.sh" | |
74 BUILDNAME="CLEANSTACK" | |
75 BUILDOPTIONS="-DLTC_CLEAN_STACK" | |
76 - | | |
77 BUILDSCRIPT="run.sh" | |
78 BUILDNAME="CLEANSTACK+SMALL" | |
79 BUILDOPTIONS="-DLTC_SMALL_CODE -DLTC_CLEAN_STACK" | |
80 - | | |
81 BUILDSCRIPT="run.sh" | |
82 BUILDNAME="CLEANSTACK+NOTABLES" | |
83 BUILDOPTIONS="-DLTC_NO_TABLES -DLTC_CLEAN_STACK" | |
84 - | | |
85 BUILDSCRIPT="run.sh" | |
86 BUILDNAME="CLEANSTACK+NOTABLES+SMALL" | |
87 BUILDOPTIONS="-DLTC_NO_TABLES -DLTC_CLEAN_STACK -DLTC_SMALL_CODE" | |
88 - | | |
89 BUILDSCRIPT="run.sh" | |
90 BUILDNAME="NO_FAST" | |
91 BUILDOPTIONS="-DLTC_NO_FAST" | |
92 - | | |
93 BUILDSCRIPT="run.sh" | |
94 BUILDNAME="NO_FAST+NOTABLES" | |
95 BUILDOPTIONS="-DLTC_NO_FAST -DLTC_NO_TABLES" | |
96 - | | |
97 BUILDSCRIPT="run.sh" | |
98 BUILDNAME="NO_ASM" | |
99 BUILDOPTIONS="-DLTC_NO_ASM" | |
100 - | | |
101 BUILDSCRIPT="run.sh" | |
102 BUILDNAME="NO_TIMING_RESISTANCE" | |
103 BUILDOPTIONS="-DLTC_NO_ECC_TIMING_RESISTANT -DLTC_NO_RSA_BLINDING" | |
104 - | | |
105 BUILDSCRIPT="run.sh" | |
106 BUILDNAME="CLEANSTACK+NOTABLES+SMALL+NO_ASM+NO_TIMING_RESISTANCE" | |
107 BUILDOPTIONS="-DLTC_CLEAN_STACK -DLTC_NO_TABLES -DLTC_SMALL_CODE -DLTC_NO_ECC_TIMING_RESISTANT -DLTC_NO_RSA_BLINDING" | |
108 - | | |
109 BUILDSCRIPT="run.sh" | |
110 BUILDNAME="PTHREAD" | |
111 BUILDOPTIONS="-DLTC_PTHREAD" | |
112 - | | |
113 BUILDSCRIPT="run.sh" | |
114 BUILDNAME="CLEANSTACK+NOTABLES+SMALL+NO_ASM+NO_TIMING_RESISTANCE+PTHREAD" | |
115 BUILDOPTIONS="-DLTC_CLEAN_STACK -DLTC_NO_TABLES -DLTC_SMALL_CODE -DLTC_NO_ECC_TIMING_RESISTANT -DLTC_NO_RSA_BLINDING -DLTC_PTHREAD" | |
116 - | | |
117 BUILDSCRIPT="testbuild.sh" | |
118 BUILDNAME="NOTEST" | |
119 BUILDOPTIONS="-DLTC_NO_TEST" | |
120 - | | |
121 BUILDSCRIPT="testbuild.sh" | |
122 BUILDNAME="NOFILE" | |
123 BUILDOPTIONS="-DLTC_NO_FILE" | |
124 | |
125 after_failure: | |
126 - cat test_std.txt | |
127 - cat test_err.txt | |
128 - cat tv.txt | |
129 | |
130 after_script: | |
131 - cat gcc_1.txt | |
132 - cat gcc_2.txt | |
133 | |
134 notifications: | |
135 irc: "chat.freenode.net#libtom-notifications" |