-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
76 lines (69 loc) · 1.94 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
sudo: required
dist: xenial
language: python
python:
- 3.6
matrix:
include:
- compiler: gcc
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq gcc-6
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 90
before_script:
- python3 -m pip install numpy sphinx
script:
- ./configure
- make check
- python3 setup.py module
- python3 setup.py test
- python3 setup.py doctest
- compiler: gcc
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq gcc-7
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 90
before_script:
- sudo apt-get -qq update
- sudo apt-get install -y valgrind
script:
- ./configure --with-valgrind
- make parser
- make memcheck
- python3 setup.py module
- python3 setup.py test
- compiler: clang
before_script:
- export CC=clang
script:
- ./configure
- make parser
- make check
- python3 setup.py module
- python3 setup.py test
- language: objective-c
os: osx
compiler: clang
before_install:
- brew install python3
before_script:
- export CC=clang
script:
- ./configure
- make check
- python3 setup.py module
- python3 setup.py test
- compiler: gcc
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq gcc-8
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 90
script:
- python3 setup.py build
- python3 setup.py test