File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 1212 - TORCH_VER="1.1.0"
1313 - TORCH_VER="1.2.0"
1414 - TORCH_VER="1.3.0"
15+ - TORCH_VER="1.4.0"
1516
1617matrix :
1718 fast_finish : true
@@ -22,12 +23,14 @@ matrix:
2223 env : TORCH_VER="1.2.0"
2324 - python : " 3.6"
2425 env : TORCH_VER="1.3.0"
26+ - python : " 3.6"
27+ env : TORCH_VER="1.4.0"
2528
2629install :
2730 - pip install --upgrade pip
2831 - pip install --progress-bar off torch==$TORCH_VER
2932 - pip install --progress-bar off .[extras]
30- - if [[ $TORCH_VER == "1.3 .0" ]]; then
33+ - if [[ $TORCH_VER == "1.4 .0" ]]; then
3134 pip install pylint==2.3.1 flake8==3.7.7;
3235 fi
3336 - if [[ $TORCH_VER != "1.0.1" ]]; then
@@ -37,14 +40,14 @@ install:
3740 - pip install coverage codecov
3841
3942script :
40- # Linting (only for PyTorch version 1.3 .0 to save time)
41- - if [[ $TORCH_VER == "1.3 .0" ]]; then
43+ # Linting (only for PyTorch version 1.4 .0 to save time)
44+ - if [[ $TORCH_VER == "1.4 .0" ]]; then
4245 pylint texar/ examples/;
4346 fi
44- - if [[ $TORCH_VER == "1.3 .0" ]]; then
47+ - if [[ $TORCH_VER == "1.4 .0" ]]; then
4548 flake8 texar/ examples/;
4649 fi
47- # Type-checking (only for PyTorch version 1.1.0 & 1.2.0 & 1.3 .0)
50+ # Type-checking (only for PyTorch version 1.1.0 - 1.4 .0)
4851 - if [[ $TORCH_VER != "1.0.1" ]]; then
4952 mypy .;
5053 fi
You can’t perform that action at this time.
0 commit comments