mirror of https://github.com/tqdm/tqdm.git
fix py2.6, allow win fail
This commit is contained in:
parent
b900ef261e
commit
7812648b4f
27
.travis.yml
27
.travis.yml
|
@ -23,6 +23,8 @@ stages:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
if: repo = tqdm/tqdm
|
if: repo = tqdm/tqdm
|
||||||
jobs:
|
jobs:
|
||||||
|
allow_failures:
|
||||||
|
- os: windows
|
||||||
include:
|
include:
|
||||||
- stage: test
|
- stage: test
|
||||||
name: py2.6
|
name: py2.6
|
||||||
|
@ -44,6 +46,12 @@ jobs:
|
||||||
- name: py3.7
|
- name: py3.7
|
||||||
python: 3.7
|
python: 3.7
|
||||||
env: TOXENV=py37
|
env: TOXENV=py37
|
||||||
|
- name: pypy2.7
|
||||||
|
python: pypy2.7-5.10.0
|
||||||
|
env: TOXENV=pypy
|
||||||
|
- name: pypy3.5
|
||||||
|
python: pypy3.5-5.10.0
|
||||||
|
env: TOXENV=pypy3
|
||||||
- name: py2.7-win
|
- name: py2.7-win
|
||||||
os: windows
|
os: windows
|
||||||
language: shell
|
language: shell
|
||||||
|
@ -58,17 +66,18 @@ jobs:
|
||||||
export PATH="/c/Python27:/c/Python27/Scripts:$PATH"
|
export PATH="/c/Python27:/c/Python27/Scripts:$PATH"
|
||||||
fi
|
fi
|
||||||
- python -m pip install -U pip setuptools wheel
|
- python -m pip install -U pip setuptools wheel
|
||||||
|
install: &install_win
|
||||||
|
- python -m pip install tox
|
||||||
|
- python -m pip install .
|
||||||
|
script: &script_win
|
||||||
|
- python -m tox
|
||||||
- name: py3.7-win
|
- name: py3.7-win
|
||||||
os: windows
|
os: windows
|
||||||
language: shell
|
language: shell
|
||||||
env: TOXENV=py37
|
env: TOXENV=py37
|
||||||
before_install: *before_install_win
|
before_install: *before_install_win
|
||||||
- name: pypy2.7
|
install: *install_win
|
||||||
python: pypy2.7-5.10.0
|
script: *script_win
|
||||||
env: TOXENV=pypy
|
|
||||||
- name: pypy3.5
|
|
||||||
python: pypy3.5-5.10.0
|
|
||||||
env: TOXENV=pypy3
|
|
||||||
- stage: check
|
- stage: check
|
||||||
name: style
|
name: style
|
||||||
python: 3.7
|
python: 3.7
|
||||||
|
@ -193,7 +202,7 @@ before_install:
|
||||||
# - sudo ln -s /run/shm /dev/shm
|
# - sudo ln -s /run/shm /dev/shm
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
install:
|
install:
|
||||||
- python -m pip install tox
|
- pip install tox
|
||||||
- python -m pip install .
|
- pip install .
|
||||||
script:
|
script:
|
||||||
- python -m tox
|
- tox
|
||||||
|
|
Loading…
Reference in New Issue