Skip to content

Commit

Permalink
chore: only try to deploy once on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
machow committed Apr 25, 2020
1 parent fc83cb4 commit 4dd7ede
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,20 @@ jobs:
- pip install -r requirements-test.txt
- pip install ./
- pip install psycopg2~=2.8.4


# deploy on github release
- stage: deploy
before_deploy:
- python3 -c 'import os, siuba; assert(os.environ["TRAVIS_TAG"] == "v" + siuba.__version__)'
deploy:
provider: pypi
user: __token__
password:
secure: "OGtU1RgAksy0oGmI94bgZ3e7Fkxlxjs94hBm667cAj9MIs5z1qGd32D5Se+HYsWW4Z3OYx170hSgk/AzG8MrXK41rvFoeNEd5NnZ0vY7FaLpsRErWoG/JauBiEt/Q4ize9X+2RSTgWyrKLgTccRKIKwOsO5Qyr6XJorEvJY4fdS19YZGu8sHyphFNCXeDHxZnE5EVJ71/36uv61IGh/KbMm46vZu1Adnh6UJTOkzDAkK2y1aO1Bm2kETM5EmTIVa++m63qPzU3pbcIpBC8ivz/hDIujF4wyCBpEl3M80at/GDuQjPgLkCsNC7lU5q3+f6KucND6tVBQiCVf07lpEAkGFltZrAo86i8fL9OzkFQrQY4MzCuk8ImZT+5fBoG/D7QXdyFeroAmuRSqX7/vKm3ceGFXMsP8dR2fTXWmAAEhpj3zG3/Hsck97/90PvQTd+fvMnpHqdrvRTFC6Dau1FKntRtW0qkjg+mFqGlMdy1PYCRLc7pXE3kAHwzJKEDOZnLYJC2TYniz5KUPfPtKrQhfu/55XOCC1C20v3ouJD9MeaHwla5pbEWVescXJa2nSOX6ANJYRTPiXJgnEgaBTlOFWwDNBqU1io5jgF63ai8nueacz1lXWc91VfbdZx1gLTgtHUF2/nVRA+zq+MDFAYrxG5CK45gB03hZ/3sNCxKc="
distributions: sdist bdist_wheel
on:
tags: true

# command to run tests
install:
- pip install -r requirements.txt
Expand All @@ -37,16 +50,3 @@ env:
script:
- make test-travis

# deploy on github release
before_deploy:
- python3 -c 'import os, siuba; assert(os.environ["TRAVIS_TAG"] == "v" + siuba.__version__)'
deploy:
provider: pypi
user: __token__
password:
secure: "OGtU1RgAksy0oGmI94bgZ3e7Fkxlxjs94hBm667cAj9MIs5z1qGd32D5Se+HYsWW4Z3OYx170hSgk/AzG8MrXK41rvFoeNEd5NnZ0vY7FaLpsRErWoG/JauBiEt/Q4ize9X+2RSTgWyrKLgTccRKIKwOsO5Qyr6XJorEvJY4fdS19YZGu8sHyphFNCXeDHxZnE5EVJ71/36uv61IGh/KbMm46vZu1Adnh6UJTOkzDAkK2y1aO1Bm2kETM5EmTIVa++m63qPzU3pbcIpBC8ivz/hDIujF4wyCBpEl3M80at/GDuQjPgLkCsNC7lU5q3+f6KucND6tVBQiCVf07lpEAkGFltZrAo86i8fL9OzkFQrQY4MzCuk8ImZT+5fBoG/D7QXdyFeroAmuRSqX7/vKm3ceGFXMsP8dR2fTXWmAAEhpj3zG3/Hsck97/90PvQTd+fvMnpHqdrvRTFC6Dau1FKntRtW0qkjg+mFqGlMdy1PYCRLc7pXE3kAHwzJKEDOZnLYJC2TYniz5KUPfPtKrQhfu/55XOCC1C20v3ouJD9MeaHwla5pbEWVescXJa2nSOX6ANJYRTPiXJgnEgaBTlOFWwDNBqU1io5jgF63ai8nueacz1lXWc91VfbdZx1gLTgtHUF2/nVRA+zq+MDFAYrxG5CK45gB03hZ/3sNCxKc="
distributions: sdist bdist_wheel
on:
tags: true


0 comments on commit 4dd7ede

Please sign in to comment.