forked from neuml/txtai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 873 Bytes
/
.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
# Travis CI build script - test on all supported platforms
os: linux
dist: xenial
language: python
jobs:
include:
- name: "Linux"
script:
- make coverage
after_success:
- coveralls
- name: "macOS"
os: osx
osx_image: xcode11.6
language: shell
script:
- make PYTHON=python3 test
- name: "Windows"
os: windows
language: shell
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
before_install:
- choco install make
- choco install python --version 3.6.8
- python -m pip install -U pip wheel
- python -m pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
install:
- pip3 install -U pip wheel coverage coveralls
- pip3 install .
- python3 --version || python --version
script:
- make test