-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
94 lines (87 loc) · 2.59 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
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
- git clone https://github.com/plures/ndtypes.git
- cd ndtypes
- python3 setup.py install --local=../python
- cd ..
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 install -y valgrind
- git clone https://github.com/plures/ndtypes.git
- cd ndtypes
- python3 setup.py install --local=../python
- cd ..
script:
- ./configure
- make memcheck
- python3 setup.py module
- python3 setup.py test
- compiler: clang
before_script:
- git clone https://github.com/plures/ndtypes.git
- export CC=clang
- cd ndtypes
- python3 setup.py install --local=../python
- cd ..
script:
- ./configure
- make check
- python3 setup.py module
- python3 setup.py test
- language: objective-c
os: osx
compiler: clang
before_install:
- brew install python3
before_script:
- git clone https://github.com/plures/ndtypes.git
- export CC=clang
- cd ndtypes
- python3 setup.py install --local=../python
- cd ..
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
before_script:
- git clone https://github.com/plures/ndtypes.git
- cd ndtypes
- python3 setup.py install --local=../python
- cd ..
script:
- python3 setup.py build
- python3 setup.py test