Skip to content

Commit 0177907

Browse files
committed
next try
1 parent 1413194 commit 0177907

File tree

1 file changed

+99
-102
lines changed

1 file changed

+99
-102
lines changed

.travis.yml

Lines changed: 99 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ branches:
3838
install:
3939
- '[ "$OS" != "WIN" ] && sudo apt-get update -qq || true'
4040
- '[ "$OS" != "WIN" ] && sudo apt-get install valgrind || true'
41-
- apt-cache search gcc | grep '^gcc-[0-9\.]* '
42-
- apt-cache search clang | grep compiler
41+
- '[ "$OS" != "WIN" ] && apt-cache search gcc | grep "^gcc-[0-9\.]*"'
42+
- '[ "$OS" != "WIN" ] && apt-cache search clang | grep compiler'
4343

4444
# The language is C and it will load the respective dependencies
4545
language: c
@@ -60,116 +60,113 @@ matrix:
6060
# We have only one program and the variable $BUILDOPTIONS
6161
# has only the options to that program: testme.sh
6262

63-
# Check source code format
64-
- env: BUILDOPTIONS='--format'
65-
addons:
66-
apt:
67-
packages:
68-
- astyle
63+
# # Check source code format
64+
# - env: BUILDOPTIONS='--format'
65+
# addons:
66+
# apt:
67+
# packages:
68+
# - astyle
6969

7070
# Windows build with gcc
7171
- os: windows
7272
env:
73-
- MSBUILD_PATH="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin"
7473
- OS=WIN
75-
- BUILDOPTIONS='--all --make-options="-f makefile.mingw"'
76-
script:
77-
- export PATH=$MSBUILD_PATH:$PATH
78-
- ./testme.sh ${BUILDOPTIONS}
74+
- BUILDOPTIONS='--all'
75+
before_script:
76+
- chmod +x testme.sh
7977

8078
# Windows build with msvc
8179
- os: windows
8280
env:
83-
- MSBUILD_PATH="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin"
8481
- OS=WIN
85-
- BUILDOPTIONS='--make=nmake.exe --make-options="-f makefile.msvc"'
86-
script:
87-
- export PATH=$MSBUILD_PATH:$PATH
88-
- ./testme.sh ${BUILDOPTIONS}
89-
90-
# GCC for the 32-bit architecture (no valgrind yet)
91-
- env: BUILDOPTIONS='--with-cc=gcc-5 --with-m32'
92-
addons:
93-
apt:
94-
packages:
95-
- libc6-dev-i386
96-
- gcc-multilib
97-
98-
# clang for the 32-bit architecture (no valgrind yet)
99-
- env: BUILDOPTIONS='--with-cc=clang-7 --with-m32'
100-
addons:
101-
apt:
102-
packages:
103-
- libc6-dev-i386
104-
- gcc-multilib
105-
106-
# GCC for the x64_32 architecture (32-bit longs and 32-bit pointers)
107-
# TODO: Probably not possible to run anything in x32 in Travis
108-
# but needs to be checked to be sure.
109-
- env: BUILDOPTIONS='--with-cc=gcc-5 --with-mx32'
110-
addons:
111-
apt:
112-
packages:
113-
- libc6-dev-x32
114-
- gcc-multilib
115-
116-
# GCC for the x86-64 architecture (64-bit longs and 64-bit pointers)
117-
- env: BUILDOPTIONS='--with-cc=gcc-5 --with-m64 --with-valgrind'
118-
- env: BUILDOPTIONS='--with-cc=gcc-4.7 --with-m64 --with-valgrind'
119-
addons:
120-
apt:
121-
packages:
122-
- gcc-4.7
123-
- env: BUILDOPTIONS='--with-cc=gcc-4.8 --with-m64 --with-valgrind'
124-
addons:
125-
apt:
126-
packages:
127-
- gcc-4.8
128-
- env: BUILDOPTIONS='--with-cc=gcc-4.9 --with-m64 --with-valgrind'
129-
addons:
130-
apt:
131-
packages:
132-
- gcc-4.9
133-
134-
# clang for x86-64 architecture (64-bit longs and 64-bit pointers)
135-
- env: CONV_WARNINGS=1 BUILDOPTIONS='--with-cc=clang-7 --with-m64 --with-valgrind'
136-
- env: BUILDOPTIONS='--with-cc=clang-6.0 --with-m64 --with-valgrind'
137-
addons:
138-
apt:
139-
packages:
140-
- clang-6.0
141-
- env: BUILDOPTIONS='--with-cc=clang-5.0 --with-m64 --with-valgrind'
142-
addons:
143-
apt:
144-
packages:
145-
- clang-5.0
146-
- env: BUILDOPTIONS='--with-cc=clang-4.0 --with-m64 --with-valgrind'
147-
addons:
148-
apt:
149-
packages:
150-
- clang-4.0
151-
152-
# GCC for the x86-64 architecture with restricted limb sizes
153-
# formerly started with the option "--with-low-mp" to testme.sh
154-
# but testing all three in one run took to long and timed out.
155-
- env: BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_8BIT --with-valgrind'
156-
- env: BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_16BIT --with-valgrind'
157-
- env: BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_32BIT --with-valgrind'
158-
159-
# clang for the x86-64 architecture with restricted limb sizes
160-
- env: BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_8BIT --with-valgrind'
161-
- env: BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_16BIT --with-valgrind'
162-
- env: BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_32BIT --with-valgrind'
163-
164-
# GCC for the x86-64 architecture testing against a different Bigint-implementation
165-
# with 333333 different inputs.
166-
- env: BUILDOPTIONS='--with-cc=gcc-5 --test-vs-mtest=333333 --with-valgrind'
167-
- env: BUILDOPTIONS='--with-cc=clang-7 --test-vs-mtest=333333 --with-valgrind'
168-
169-
# clang for the x86-64 architecture testing against a different Bigint-implementation
170-
# with a better random source.
171-
- env: BUILDOPTIONS='--with-cc=gcc-5 --test-vs-mtest=333333 --mtest-real-rand --with-valgrind'
172-
- env: BUILDOPTIONS='--with-cc=clang-7 --test-vs-mtest=333333 --mtest-real-rand --with-valgrind'
82+
- BUILDOPTIONS='--make=nmake.exe --make-options=-f --make-options=makefile.msvc'
83+
before_script:
84+
- . '"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64'
85+
- chmod +x testme.sh
86+
87+
# # GCC for the 32-bit architecture (no valgrind yet)
88+
# - env: BUILDOPTIONS='--with-cc=gcc-5 --with-m32'
89+
# addons:
90+
# apt:
91+
# packages:
92+
# - libc6-dev-i386
93+
# - gcc-multilib
94+
#
95+
# # clang for the 32-bit architecture (no valgrind yet)
96+
# - env: BUILDOPTIONS='--with-cc=clang-7 --with-m32'
97+
# addons:
98+
# apt:
99+
# packages:
100+
# - libc6-dev-i386
101+
# - gcc-multilib
102+
#
103+
# # GCC for the x64_32 architecture (32-bit longs and 32-bit pointers)
104+
# # TODO: Probably not possible to run anything in x32 in Travis
105+
# # but needs to be checked to be sure.
106+
# - env: BUILDOPTIONS='--with-cc=gcc-5 --with-mx32'
107+
# addons:
108+
# apt:
109+
# packages:
110+
# - libc6-dev-x32
111+
# - gcc-multilib
112+
#
113+
# # GCC for the x86-64 architecture (64-bit longs and 64-bit pointers)
114+
# - env: BUILDOPTIONS='--with-cc=gcc-5 --with-m64 --with-valgrind'
115+
# - env: BUILDOPTIONS='--with-cc=gcc-4.7 --with-m64 --with-valgrind'
116+
# addons:
117+
# apt:
118+
# packages:
119+
# - gcc-4.7
120+
# - env: BUILDOPTIONS='--with-cc=gcc-4.8 --with-m64 --with-valgrind'
121+
# addons:
122+
# apt:
123+
# packages:
124+
# - gcc-4.8
125+
# - env: BUILDOPTIONS='--with-cc=gcc-4.9 --with-m64 --with-valgrind'
126+
# addons:
127+
# apt:
128+
# packages:
129+
# - gcc-4.9
130+
#
131+
# # clang for x86-64 architecture (64-bit longs and 64-bit pointers)
132+
# - env: CONV_WARNINGS=1 BUILDOPTIONS='--with-cc=clang-7 --with-m64 --with-valgrind'
133+
# - env: BUILDOPTIONS='--with-cc=clang-6.0 --with-m64 --with-valgrind'
134+
# addons:
135+
# apt:
136+
# packages:
137+
# - clang-6.0
138+
# - env: BUILDOPTIONS='--with-cc=clang-5.0 --with-m64 --with-valgrind'
139+
# addons:
140+
# apt:
141+
# packages:
142+
# - clang-5.0
143+
# - env: BUILDOPTIONS='--with-cc=clang-4.0 --with-m64 --with-valgrind'
144+
# addons:
145+
# apt:
146+
# packages:
147+
# - clang-4.0
148+
#
149+
# # GCC for the x86-64 architecture with restricted limb sizes
150+
# # formerly started with the option "--with-low-mp" to testme.sh
151+
# # but testing all three in one run took to long and timed out.
152+
# - env: BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_8BIT --with-valgrind'
153+
# - env: BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_16BIT --with-valgrind'
154+
# - env: BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_32BIT --with-valgrind'
155+
#
156+
# # clang for the x86-64 architecture with restricted limb sizes
157+
# - env: BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_8BIT --with-valgrind'
158+
# - env: BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_16BIT --with-valgrind'
159+
# - env: BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_32BIT --with-valgrind'
160+
#
161+
# # GCC for the x86-64 architecture testing against a different Bigint-implementation
162+
# # with 333333 different inputs.
163+
# - env: BUILDOPTIONS='--with-cc=gcc-5 --test-vs-mtest=333333 --with-valgrind'
164+
# - env: BUILDOPTIONS='--with-cc=clang-7 --test-vs-mtest=333333 --with-valgrind'
165+
#
166+
# # clang for the x86-64 architecture testing against a different Bigint-implementation
167+
# # with a better random source.
168+
# - env: BUILDOPTIONS='--with-cc=gcc-5 --test-vs-mtest=333333 --mtest-real-rand --with-valgrind'
169+
# - env: BUILDOPTIONS='--with-cc=clang-7 --test-vs-mtest=333333 --mtest-real-rand --with-valgrind'
173170

174171
# Notifications go to
175172
# An email address is also possible.

0 commit comments

Comments
 (0)