-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
49 lines (44 loc) · 1.32 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
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
- pip install numpy
before_script:
- git clone https://github.com/plures/ndtypes.git
- git clone https://github.com/plures/xnd.git
- cd ndtypes
- python3 setup.py install --local=$PWD/../python
- cd ../xnd
- python3 setup.py install --local=$PWD/../python
- cd ..
script:
- python3 setup.py build -j2
- python3 setup.py test
- language: objective-c
os: osx
compiler: clang
before_install:
- brew install python3
- python3 -m pip install numpy numba
before_script:
- export CC=clang
- git clone https://github.com/plures/ndtypes.git
- git clone https://github.com/plures/xnd.git
- cd ndtypes
- python3 setup.py install --local=$PWD/../python
- cd ../xnd
- python3 setup.py install --local=$PWD/../python
- cd ..
script:
- python3 setup.py build -j2
- python3 setup.py test