From 839f551ae3d32e908d8a74e4cfe933aefef51d20 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 13 Oct 2016 14:32:02 +0200 Subject: [PATCH] Work on travis script --- .travis.yml | 2 +- travis.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e8d39cd5e..2098efb04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,4 +21,4 @@ install: script: - "pip install pytest" - if [[ "${VIA}" == "compile" ]]; then SPACY_DATA=models/en python -m pytest spacy; fi - - if [[ "${VIA}" == "pip" ]]; then python -m pytest spacy; fi + - if [[ "${TRAVIS_PULL_REQUEST}" == "false" && "${VIA}" == "pip" ]]; then python -m pytest spacy; fi diff --git a/travis.sh b/travis.sh index 522700248..efd76c7c7 100755 --- a/travis.sh +++ b/travis.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ "${TRAVIS_PULL_REQUEST}" = "false" && "${VIA}" == "pypi"]; then +if [ "${TRAVIS_PULL_REQUEST}" == "false" && "${VIA}" == "pypi"]; then rm -rf * pip install spacy fi