blob: c15a2d9f7877b4f6627e828cfd0758e57f65d82a (
plain)
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
|
# Travis CI configuration for GenSVM
matrix:
include:
- language: python
dist: xenial
sudo: required
python: "3.7"
services:
- docker
env:
- CC="gcc"
- PYTHON="python3"
- PIP="pip3"
- os: osx
language: generic
env:
- CC="gcc"
- PYTHON="python3"
- PIP="pip3"
- os: windows
language: shell
before_install:
- choco install python3 --version 3.6.8 --no-progress -y
env:
- PATH=/c/Python36:/c/Python36/Scripts:$PATH
- PYTHON="python"
- PIP="pip"
env:
- CIBW_TEST_COMMAND="python -VV && python -m unittest discover -f -s {project}/test
env:
- CC="gcc"
before_install:
- sudo apt-get update
- sudo apt-get install -y libatlas-base-dev liblapack-dev liblapacke-dev
install:
- $PIP install numpy
- $PIP install -e .[dev]
- $PYTHON -m unittest discover -v -f -s ./test
script:
- $PIP install cibuildwheel==1.0.0
- cibuildwheel --output-dir wheelhouse
- ls wheelhouse
|