From 8abcc371f507239c3374300e6d5cd1365aca7893 Mon Sep 17 00:00:00 2001 From: Noah Morrison Date: Tue, 2 Oct 2018 16:59:04 -0400 Subject: [PATCH] Okay, if I can't only run it once, only publish once --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16ced97..2f7d41d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ matrix: - python: 3.6 env: - TOXENV=flake8 + - PUBLISH="true" install: - pip install coveralls - pip install tox-travis @@ -23,9 +24,6 @@ matrix: - tox after_success: - coveralls - exclude: - - python: 3.6 - env: [] script: - python ./test_spec.py @@ -42,7 +40,7 @@ deploy: tags: true repo: noahmorrison/chevron branch: master - condition: $TRAVIS_PYTHON_VERSION = "3.6" + condition: $PUBLISH = "true" - provider: pypi server: https://test.pypi.org/legacy/ user: noahmorrison @@ -54,4 +52,4 @@ deploy: tags: true repo: noahmorrison/chevron all_branches: true - condition: $TRAVIS_PYTHON_VERSION = "3.6" + condition: $PUBLISH = "true" -- 2.47.3