Skip to content

Commit

Permalink
Travis CI deploy only on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
xzkostyan committed Aug 10, 2019
1 parent d86be7d commit c24e70c
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
prerelease: true
overwrite: true
on:
branch: master
tags: true

- stage: wheels
name: Wheels for OS X
Expand All @@ -114,7 +114,7 @@ jobs:
prerelease: true
overwrite: true
on:
branch: master
tags: true

- stage: wheels
name: Wheels for Windows Python 2.7
Expand All @@ -126,7 +126,7 @@ jobs:
- choco install --ignore-dependencies vcpython27

script:
- C:/Python27/python -m pip install "cibuildwheel==0.11.1"
- C:/Python27/python -m pip install cibuildwheel==0.11.1
- C:/Python27/python -m cibuildwheel --platform windows --output-dir wheelhouse

env:
Expand All @@ -143,7 +143,7 @@ jobs:
prerelease: true
overwrite: true
on:
branch: master
tags: true

- stage: wheels
name: Wheels for Windows Python 2.7 x64
Expand All @@ -159,7 +159,7 @@ jobs:
- export LIB="C:\\Program Files (x86)\\common files\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Lib\\amd64;C:\\Program Files (x86)\\common files\\Microsoft\\Visual C++ for Python\\9.0\\WinSDK\\Lib\\x64"

script:
- C:/Python27-x64/python -m pip install "cibuildwheel==0.11.1"
- C:/Python27-x64/python -m pip install cibuildwheel==0.11.1
- C:/Python27-x64/python -m cibuildwheel --platform windows --output-dir wheelhouse

env:
Expand All @@ -176,7 +176,7 @@ jobs:
prerelease: true
overwrite: true
on:
branch: master
tags: true

# - stage: wheels
# name: Wheels for Windows Python 3.4
Expand All @@ -188,7 +188,7 @@ jobs:
# - export VS100COMNTOOLS="$VS140COMNTOOLS"
#
# script:
# - C:/Python34/python -m pip install "cibuildwheel==0.11.1"
# - C:/Python34/python -m pip install cibuildwheel==0.11.1
# - C:/Python34/python -m cibuildwheel --platform windows --output-dir wheelhouse
#
# env:
Expand All @@ -205,7 +205,7 @@ jobs:
# prerelease: true
# overwrite: true
# on:
# branch: master
# tags: true
#
# - stage: wheels
# name: Wheels for Windows Python 3.4 x64
Expand All @@ -220,7 +220,7 @@ jobs:
# - export LIB="C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\LIB\\amd64;C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.17134.0\\ucrt\\x64;C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.17134.0\\um\\x64"
#
# script:
# - C:/Python34-x64/python -m pip install "cibuildwheel==0.11.1"
# - C:/Python34-x64/python -m pip install cibuildwheel==0.11.1
# - C:/Python34-x64/python -m cibuildwheel --platform windows --output-dir wheelhouse
#
# env:
Expand All @@ -237,7 +237,7 @@ jobs:
# prerelease: true
# overwrite: true
# on:
# branch: master
# tags: true

- stage: wheels
name: Wheels for Windows Python 3.5
Expand All @@ -248,7 +248,7 @@ jobs:
- choco install python3 --version 3.5.2.20161029 -y --forcex86 --force --params "/InstallDir:C:\Python35"

script:
- C:/Python35/python -m pip install "cibuildwheel==0.11.1"
- C:/Python35/python -m pip install cibuildwheel==0.11.1
- C:/Python35/python -m cibuildwheel --platform windows --output-dir wheelhouse

env:
Expand All @@ -265,7 +265,7 @@ jobs:
prerelease: true
overwrite: true
on:
branch: master
tags: true

- stage: wheels
name: Wheels for Windows Python 3.5 x64
Expand All @@ -276,7 +276,7 @@ jobs:
- choco install python3 --version 3.5.2.20161029 -y --force --params "/InstallDir:C:\Python35-x64"

script:
- C:/Python35-x64/python -m pip install "cibuildwheel==0.11.1"
- C:/Python35-x64/python -m pip install cibuildwheel==0.11.1
- C:/Python35-x64/python -m cibuildwheel --platform windows --output-dir wheelhouse

env:
Expand All @@ -293,7 +293,7 @@ jobs:
prerelease: true
overwrite: true
on:
branch: master
tags: true

- stage: wheels
name: Wheels for Windows Python 3.[67]
Expand All @@ -307,11 +307,11 @@ jobs:
- choco install python3 --version 3.7.4 --sidebyside -y --forcex86 --force --params "/InstallDir:C:\Python37"
- choco install python3 --version 3.7.4 --sidebyside -y --force --params "/InstallDir:C:\Python37-x64"
script:
- C:/Python36/python -m pip install "cibuildwheel==0.11.1"
- C:/Python36-x64/python -m pip install "cibuildwheel==0.11.1"
- C:/Python36/python -m pip install cibuildwheel==0.11.1
- C:/Python36-x64/python -m pip install cibuildwheel==0.11.1

- C:/Python37/python -m pip install "cibuildwheel==0.11.1"
- C:/Python37-x64/python -m pip install "cibuildwheel==0.11.1"
- C:/Python37/python -m pip install cibuildwheel==0.11.1
- C:/Python37-x64/python -m pip install cibuildwheel==0.11.1

- C:/Python36/python -m cibuildwheel --platform windows --output-dir wheelhouse
- C:/Python36-x64/python -m cibuildwheel --platform windows --output-dir wheelhouse
Expand All @@ -333,4 +333,4 @@ jobs:
prerelease: true
overwrite: true
on:
branch: master
tags: true

0 comments on commit c24e70c

Please sign in to comment.