]> Devi Nivas Git - chevron.git/commitdiff
Okay, if I can't only run it once, only publish once
authorNoah Morrison <noah@morrison.ph>
Tue, 2 Oct 2018 20:59:04 +0000 (16:59 -0400)
committerNoah Morrison <noah@morrison.ph>
Tue, 2 Oct 2018 20:59:04 +0000 (16:59 -0400)
.travis.yml

index 16ced972a2495117375b6a5767dab8cc78074fe6..2f7d41dec2054d7369c3776043c543d2cfa0062c 100644 (file)
@@ -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"