forked from MIC-DKFZ/TractSeg
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
36 lines (33 loc) · 938 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
33
os: linux
dist: bionic
#sudo: required # gives more RAM (otherwise memory error for TOM)
language: python
services:
- docker
jobs:
include:
- python: "3.6"
env:
- PYTORCH_URL="torch==1.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html"
- PYTHON_VERS=3.6
script: ./travis_test
- python: "3.7"
env:
- PYTORCH_URL="torch==1.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html"
- PYTHON_VERS=3.7
script: ./travis_test
# - python: "3.8"
# env:
# - PYTORCH_URL="torch==1.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html"
# - PYTHON_VERS=3.8
# script: ./travis_test
- stage: Deploy to Dockerhub
python: "3.7"
env:
- PYTORCH_URL="torch==1.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html"
- PYTHON_VERS=3.7
script: ./travis_docker
before_install:
- pip install $PYTORCH_URL
install:
- pip install .