-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
113 lines (111 loc) · 4.81 KB
/
.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
addons:
apt:
update: true
matrix:
include:
- os: linux
language: c
sudo: required
install: ./setup.sh
before_script:
- autoreconf --install
- pwd
- ls
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure --enable-benchmarks --enable-examples ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure --prefix=/usr --enable-benchmarks --enable-examples ; fi
script:
- make clean
- make
- make check
- sudo make install
- valgrind --leak-check=full -v --error-exitcode=255 ./tests/.libs/mtest_field > /dev/null
- valgrind --leak-check=full -v --error-exitcode=255 ./tests/.libs/mtest_ecurve > /dev/null
- valgrind --leak-check=full -v --error-exitcode=255 ./tests/.libs/mtest_ecpoint > /dev/null
- valgrind --leak-check=full -v --error-exitcode=255 ./tests/.libs/mtest_ecdsa > /dev/null
- valgrind --leak-check=full -v --error-exitcode=255 ./tests/.libs/mtest_ecelgamal > /dev/null
- os: osx
language: c
install: ./setup.sh
before_script:
- autoreconf --install
- pwd
- ls
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure --enable-benchmarks --enable-examples ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure --prefix=/usr --enable-benchmarks --enable-examples ; fi
script:
- make clean
- make
- make check
- sudo make install
#- valgrind --leak-check=full -v --error-exitcode=255 ./tests/.libs/mtest_field > /dev/null
#- valgrind --leak-check=full -v --error-exitcode=255 ./tests/.libs/mtest_ecurve > /dev/null
#- valgrind --leak-check=full -v --error-exitcode=255 ./tests/.libs/mtest_ecpoint > /dev/null
#- valgrind --leak-check=full -v --error-exitcode=255 ./tests/.libs/mtest_ecdsa > /dev/null
#- valgrind --leak-check=full -v --error-exitcode=255 ./tests/.libs/mtest_ecelgamal > /dev/null
- os: linux
language: python
sudo: required
install: ./setup.sh
before_script:
- autoreconf --install
- pwd
- ls
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure --enable-benchmarks --enable-examples ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure --prefix=/usr --enable-benchmarks --enable-examples ; fi
script:
- make clean
- make
- sudo make install
- sudo pip3 install --upgrade .
- python3 ./tests/pytest_field.py
- python3 ./tests/pytest_ecurve.py
- python3 ./tests/pytest_ecpoint.py
- python3 ./tests/pytest_ecdsa.py
- python3 ./tests/pytest_ecelgamal.py
- os: osx
language: generic
install: ./setup.sh
before_script:
- autoreconf --install
- pwd
- ls
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure --enable-benchmarks --enable-examples ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure --prefix=/usr --enable-benchmarks --enable-examples ; fi
script:
- make clean
- make
- sudo make install
- sudo pip3 install --upgrade .
- python3 ./tests/pytest_field.py
- python3 ./tests/pytest_ecurve.py
- python3 ./tests/pytest_ecpoint.py
- python3 ./tests/pytest_ecdsa.py
- os: linux
language: go
sudo: required
install: ./setup.sh
before_script:
- autoreconf --install
- pwd
- ls
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure --enable-benchmarks --enable-examples ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure --prefix=/usr --enable-benchmarks --enable-examples ; fi
script:
- make clean
- make
- sudo make install
- (cd ecgo; go test -v)
- os: osx
language: go
install: ./setup.sh
before_script:
- autoreconf --install
- pwd
- ls
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure --enable-benchmarks --enable-examples ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure --prefix=/usr --enable-benchmarks --enable-examples ; fi
script:
- make clean
- make
- sudo make install
- (cd ecgo; go test -v)