-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
48 lines (44 loc) · 836 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: c
matrix:
include:
# Test GCC on GNU/Linux.
- os: linux
dist: trusty
compiler: gcc
addons:
apt:
packages:
- libgmp-dev
# Test Clang on GNU/Linux.
- os: linux
dist: trusty
compiler: clang
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
- libgmp-dev
env:
- MATRIX_EVAL="CC=clang-5.0"
# Test GCC on OS/X.
- os: osx
osx_image: xcode9.2
compiler: gcc
# Test Clang on OS/X.
- os: osx
osx_image: xcode9.2
compiler: clang
before_install:
- eval "${MATRIX_EVAL}"
script:
- make
- make test
- cd test
- ./test_ugcd
- ./test_ediv
notifications:
email:
- on_success: never
- on_failure: always